Trying to think of various ways to toggle a device On/Off from HS Touch.
Normally, I would just use a HS Touch device action to toggle device On/Off but in this case, it doesn't seem to work. Device On and Device Off both work.
I may need a script
Just wondering if anyone has done it differently or already has a code snippet?
Normally, I would just use a HS Touch device action to toggle device On/Off but in this case, it doesn't seem to work. Device On and Device Off both work.
I may need a script
Code:
Get Device State
If Device On then
Set Device Off
Else
Set Device On