Jump to content

Control 'SwitchLinc' is not switched off


KMan

Recommended Posts

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

Link to comment
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.

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.3k
×
×
  • Create New...