#i am not sure how to acomplish this I

1 messages · Page 1 of 1 (latest)

midnight crypt
#

So, you could use templating to do that, pulling the values from input_text entites

#
shell_command:
  ssh_unifi: >-
    sshpass -p "{{ states('input_text.password') }}" ssh -o "StrictHostKeyChecking=accept-new" -v {{ states('input_text.username') }}@${{ states('input_text.ip_address') }} "{{ states('input_text.command') }}"
shell grove
#

I wil try that thanks

midnight crypt