I turn on an area of lights via a service call then a motion sensor detects motion,
then I wait for the device to send “not detected” for 2,5 minutes and turn the area off again via service call.
Now I want to add a condition to check, whether the are lights have been turned off manually and cancel the automation if so.
How do I wait for the service light.turn_off
that has my target area ?
I figured I could probably do it with a light group, but I like the area feature better.
Thanks.