sfhutchi Posted November 4, 2007 Posted November 4, 2007 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') Quote
sfhutchi Posted November 4, 2007 Author Posted November 4, 2007 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. Quote
Mark Sanctuary Posted November 4, 2007 Posted November 4, 2007 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') Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.