-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command and Output are Pulled by Sensor #1
Comments
@jchasey |
@juan11perez see example here how I use ssh as a switch |
@elRadix thank you. I have a similar setup. In fact you dont need to create files in /usr/local/bin. if you're ssh"ing" into the host using the key, you can put the whole command in a shell_command within HASS. the interesting thing about this sensor is that it doesnt need a key. only user/pasword. So you can use in other scenarios where generating a key may not be the easiest. |
Would love this as a switch too. |
Ubuntu 18.04.1 LTS
HASS - Docker
First of all, thank you very much. Sensor is great!
I have some feedback/request. I used the sensor to run this command:
cat /var/run/reboot-required
The sensor provided this output:
cat /var/run/reboot-required ***system restart required****
It brings back the output along with the initial command. I can easily fix it with the value_template option, but is it intended to do that?
Thank you.
The text was updated successfully, but these errors were encountered: