i created a timer for how long my light should stay on after motion is detected.
then created an automation for each sensors.
automation 1 when motion is detected sensor A:
cancel timer
start timer
automation 2 when motion is detected sensor B:
cancel timer
start timer
automation 3 when no motion is detected by both sensor A and B:
timer.finished as trigger
sensor A and sensor B are off as conditions
it’s not perfect but works for me. i’m hoping someone could improve it.
Yes. Or means “one or more” of the specified conditions.
Both on is still one or more of them on.
A real world comparison, if it’s cold or rainy, you wear a jacket. If it’s cold you wear a jacket, if it’s rainy you wear a jacket, if it’s both you wear a jacket.
The same thing applies with this on/off “or” statement.