I have a light, and two motion sensors. I would like for either sensor to turn on the light for X minutes after there is no motion. The default motion activated light blueprint works pretty well, except for the dual sensor requirement. If I trigger the light at one part of the space, and linger near the other part of the space, I do not want the light to shut off on me.
What is the correct way to approach this? The default blueprint waits for motion to end on the sensor, then waits for X minutes and shuts off, with a restart on motion. I currently have two instances of this automation: one for each sensor.
Should I instead update the blueprint/create a single automation where either sensor triggers the light, and add a second trigger in the action, forcing it to wait first for no motion on one sensor, then wait for no motion on the other sensor, and finally wait for X minutes and shut off? Or is there a better way?