Jump to content

Control 'SwitchLinc' is not switched off


KMan

Recommended Posts

Posted

I was trying to trigger on a switchlinc being pressed with anything other than off (on, fast on, fade up, fade down, fast off, etc), and thought the following would work:

 

If
            Control 'Kitchen Lights' is not switched Off

...

 

However, this only triggered (and ran the "then" clause) when the 'Kitchen Lights' switchlinc was pressed 'off'. It did not trigger when any other press was done on the switchlinc.

 

What does the "is not" switched off clause do?

 

Thanks,

Kyle

Posted

it does exactly as you describe: triggers from an OFF command, and evaluates false when triggered. When evaluated at other times (from other conditions/triggers) it evaluates as true.

Posted
it does exactly as you describe: triggers from an OFF command, and evaluates false when triggered. When evaluated at other times (from other conditions/triggers) it evaluates as true.

 

Thanks, that makes sense, for some reason I was thinking it was triggering true.

Guest
This topic is now closed to further replies.

×
×
  • Create New...