Has anyone used multiple motion sensors as a counter to trigger automation?
Thought is this: there is a passage leading into a room, if I could use two motion sensors in succession, it should be able to count how many people are occupying the room. That way I can activate an automation when someone enters and (hopefully) activate an automation when everyone has left.
I can think of other ways that knowing how many people are in a room could be useful or using it as a second condition to change the timing on a motion sensor. Thoughts?