Hi, All:
I have what is I’m sure a very simple and stupid question, but I am just simple and stupid enough to go ahead and ask it anyway.
I have an automation that fires a notification to my phone saying “someone is arriving” any time a tracked person enters the zone.
What I would like is to have the notification say “personsname is arriving” instead.
alias: arrival departure notification
description: ''
trigger:
- platform: zone
entity_id: person.ann
zone: zone.home
event: enter
- platform: zone
entity_id: person.tom
zone: zone.home
event: enter
- platform: zone
entity_id: person.jim
zone: zone.home
event: enter
- platform: zone
entity_id: person.bob
zone: zone.home
event: enter
- platform: zone
entity_id: person.tina
zone: zone.home
event: enter
condition: []
action:
- service: notify.mobile_app_pixel_5
data:
message: is arriving
mode: single
Is it just a simple matter of knowing what {{ variable.name }}
to put in the message tag in there somewhere or am I missing something super obvious? Nothing I have put in as a variable works, they just all return “is arriving” not “personsname is arriving”
Thanks to anyone who reads and comments! -Jim