I have an event defined thusly:
IF Room Area Lights has been Off for at least 1s
Then
Set Device Room Area Lights to Off
This event should do absolutely nothing when triggered, so long as the light has been on for more than a second, yet it turns my lights off every time I trigger it! I also tried this variation:
IF Room Area Lights was set and has a value equal to Off
Then
Set Device Room Area Lights to Off
Again, this should do nothing. Yet, it turns my lights off every time I trigger it, regardless of the light's state! I have varied the IF statement, and I have yet to find any combination that results in the THEN action not being invoked! The IF statement always seems to evaluate to TRUE regardless of the light's state.
Check out this crazy log:
Feb-22 4:25:07 PM Z-Wave Device: Room Area Lights Set to 0
Feb-22 4:25:07 PM Device Control Device: Room Area Lights to Off (0)
Feb-22 4:25:07 PM Event Event Trigger "Test Events WD200-Test"
Feb-22 4:25:07 PM Event Event Test Events WD200-Test triggered by the event page 'Run' button.
Feb-22 4:25:01 PM Z-Wave Device: Room Area Lights Set to 99
Feb-22 4:25:01 PM Device Control Device: Room Area Lights to On (99) by/from: CAPI Control Handler
What am I doing wrong?
IF Room Area Lights has been Off for at least 1s
Then
Set Device Room Area Lights to Off
This event should do absolutely nothing when triggered, so long as the light has been on for more than a second, yet it turns my lights off every time I trigger it! I also tried this variation:
IF Room Area Lights was set and has a value equal to Off
Then
Set Device Room Area Lights to Off
Again, this should do nothing. Yet, it turns my lights off every time I trigger it, regardless of the light's state! I have varied the IF statement, and I have yet to find any combination that results in the THEN action not being invoked! The IF statement always seems to evaluate to TRUE regardless of the light's state.
Check out this crazy log:
Feb-22 4:25:07 PM Z-Wave Device: Room Area Lights Set to 0
Feb-22 4:25:07 PM Device Control Device: Room Area Lights to Off (0)
Feb-22 4:25:07 PM Event Event Trigger "Test Events WD200-Test"
Feb-22 4:25:07 PM Event Event Test Events WD200-Test triggered by the event page 'Run' button.
Feb-22 4:25:01 PM Z-Wave Device: Room Area Lights Set to 99
Feb-22 4:25:01 PM Device Control Device: Room Area Lights to On (99) by/from: CAPI Control Handler
What am I doing wrong?
Comment