Hello guys,
When the door opened before the siren starts to peep I want to give signals before of the lights turn red so we have time to stop it before the siren wakes us up.
But after disarming the alarm I want the lights to go back to state before the event start, so:
if the light was off to be off
if a light was green at 20% to go back to the same state and so on.
I tried rule with the following actions, it work fine but at the end it is turning the light off with ignoring what state they were at.
The repetition would likely cause some issues as the capture used will be the last one run.
Not sure why it repeats however… It would likely mean that it is getting triggered multiple times by an intrusion alert.
To help avoid it re-triggering, you can set a Required Expression for the rule’s Private Boolean to be “True”. Then the first action of the rule would be to set it to “False”, and the last to set it to “True”. This will avoid it running again while it has been triggered.