Wait for service call in automation

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.

Please post your automation so we can help you more easily.

Well I am just asking if it is possible to listen for Servcie Calls in Automation.

Yes, you can use an Event trigger with call_service type in a Wait for Trigger action.

1 Like

Well thans, that helps a lot ! :smiley: