#Conditional motion detection controlling lights.

1 messages · Page 1 of 1 (latest)

elfin talon
#

Hi all, I don't really know what to search for to find a solution to what I'm trying to do, so hoping if I ask here someone can point me in a direction.

I have a zigbee motion detector turning on the light in the pantry when you walk in, and off when presence is no longer detected ✅

However, if I turn that light on manually (with a zigbee button) I'd like that light to stay on regardless of what happens with the presence detection. I know I can do this with a variable that tracks when the light was turned on manually and make the motion automations not run if that variable is true, BUT, that seems super clunky if I want to do this in multiple places.

Is there no simpler way to achieve what I'm trying to do?

tropic cove
#

The built-in blueprint for motion activated light triggers on the state change of the motion entity from off to on, which then runs the actions. All you should need to do is add an IF to see if the light is not already on before running the actions.