Hello guys,
i am stuck with a very simple automation and i have dig into many exemple configuration or topic and i don’t see what i am doing wrong
it’s very simple like the title say, when i close my cover (somfy with no state) and want to turn off the garden lights.
So i went for trigger on event call_service close cover but can’t make it works.
Event :
{
"event_type": "call_service",
"data": {
"domain": "cover",
"service": "close_cover",
"service_data": {
"entity_id": "cover.volet_salon_droite"
}
},
Automation :
trigger:
- platform: event
event_type: call_service
event_data:
domain: cover
service: close_cover
entity_id: cover.volet_salon_droite
condition: []
action:
- service: light.turn_off
target:
entity_id:
- light.jardin_avant
- light.bureau
mode: single