Hi all,
I have an automation like this :
- id: sophie_travail
alias: notif_sophie_travail
description: Sophie arrive ou quitte travail bordel
trigger:
- platform: geo_location
source: person.fofo
zone: zone.travail_sophie
event: enter
- platform: geo_location
source: person.fofo
zone: zone.travail_sophie
event: leave
condition: []
action:
- service: notify.mobile_app_tel_denis
data:
message: "Fofo {{trigger.event.data.event}} travail"
mode: single
But after many many try, i can’t get if the event is enter or leave in my notfiy message…
( and how can i do the same for retrieve person or zone ? to understand automation syntax )
Any help will be appreciated ! thanks !