Hi experts,
Could anyone comment to this ?
I’m trying to create a script that is turning on/off something wby telneting, the telnet portion works, though I’m havint hard time with the command_state,
My script returns 0 when the switch is on, 1 when it is off.
If i run thne script with the command line, this is returning the right value, if the script is cakled fron hass, it aleays returns 0, this is lime something would override the returned value.
Any idea waht would do this ?
Thanks !
Johan