Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106290

Trigger automation when event has same state twice

$
0
0

I have a fob access system which has two RFID readers (one outside and one inside), and two states, Entry and Exit.

When I enter the house it triggers lights to turn on, and the alarm is disarmed .

On exit, everything turns off and the alarm is armed.

If this gets out of sync the automation obviously fails.
For example: the exit fob is tapped and then I realise I’ve forgotten something, I manually cancel the alarm, then tap to exit again.
In this situation the state has been set to Exit twice and the automation doesn’t trigger.

Is there any way to monitor an event going from Exit to Exit (I understand nothing is changing, and thefore the state has not changed). Frustratingly, I can see the Exit event triggering twice, there just doesn’t seem to be a way to use that in an automation.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 106290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>