Jump to content

If 'Light' is Greater Than 'Off'


sfhutchi

Recommended Posts

Posted

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')

Posted

I guess that I should have paid closer attention to the 'status' options.

I used '> Off' and it works very well. :oops:

 

I am curious why all the 'Or' commands caused this program to immediately end though.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...