Posted November 4, 200717 yr I am trying to create a simple 'turn light' off if forgotten program. I have had this working on other lights, but this is one that is controlled from other locations also, and has a default 'on' state of 80%. So... I am trying to capture any scenario that has the light either being controlled locally or remotely. This doesn't seem to work though. The program ends the same second that it starts. If Status 'Room Light' is 80% Or Control 'Room Light' is switched On Or Control 'Room Light' is switched Brighten Or Control 'Room Light' is switched Fast On Or Status 'Room Light' is On Then Wait 1 hour Set 'Room Light' Off Else - No Actions - (To add one, press 'Action')
November 4, 200717 yr Author I guess that I should have paid closer attention to the 'status' options. I used '> Off' and it works very well. I am curious why all the 'Or' commands caused this program to immediately end though.
November 4, 200717 yr Don't forget about the 'not' option, it handles all the code you have in one line. If Status 'Room Light' is not Off Then Wait 1 hour Set 'Room Light' Off Else - No Actions - (To add one, press 'Action')
Create an account or sign in to comment