Hello, I have automation, where several devices trigger telegram message by changing location. How can I include name of device, that triggered position change in the message?
Device trigger is like this:
platform: device
device_id: d253b6ad29ed634b877a38500a999799
domain: device_tracker
entity_id: device_tracker.janb_hlte203t4
type: leaves
zone: zone.homex_extendedplatform: device
and message is this. Here I would like to include name of the device above:
service: notify.jan_b
data:
message: Leaving