I have an event that I want to trigger when I press Off on a UPB light switch. I had the trigger set to 'Changed to Off', but that would trigger only when the light was On when the switch is pressed, and I want it to trigger even if the light is off.
I changed the trigger to 'Set to Off' and that seemed to do the trick, but today I discovered that the event triggers when I turn the switch on. (If I press On when the light is on, the event doesn't run, but it does run when I turn the light on, which I don't want to happen.)
Is there a way to get an event to run when I press Off, regardless of whether the light is off or on?
I changed the trigger to 'Set to Off' and that seemed to do the trick, but today I discovered that the event triggers when I turn the switch on. (If I press On when the light is on, the event doesn't run, but it does run when I turn the light on, which I don't want to happen.)
Is there a way to get an event to run when I press Off, regardless of whether the light is off or on?
Comment