I have automation that switches lights on on presence detected and switches off after 10 minutes of presence lost.
When I enter the room at the same time as this automation turns lights off, they won’t turn back on again.
What’s the best way to deal with such problem? Switch automation mode to Queued? Add wait before turning lights on?
thanks
ps
its a single automation that tracks both presence lost and presence detected and then I have Choose block to switch lights off or on
Sounds like your motion light duration n is too short and it’s in conflict with the motion trackers blind window. Check your device. Most motion devices have a blind window - the time after a trigger where a device won’t send another trigger to prevent race conditions.
If your motion automation isn’t taking that into account make sure the light stays on at least as long as the blind window to prevent the exact problem you’re hitting