Dear Community,
Here is my problem, before new update of my companion. My phone told me wich sensor had triggered my automation. (Example; My phone say to me: "Alarm triggered by ‘sensor name’. ")
The obsolete code (doesnt work now since my companion update) was;
service: notify.mobile_app_rne_l22
data:
title: >-
Monitoring maison intérieur a {{now().strftime('%H:%M')}} déclanché par
{{trigger.to_state.name}} , déclanché par {{trigger.to_state.name}}
message: TTS
data:
ttl: 0
priority: high
channel: alarm_stream_max
Now code its a little bit differrent, confere time variable has changed into=
{{now().timestamp() | timestamp_custom('%H:%m')}}
But i cant find info of variable name of wich sensor have triggered alarm… This variable is now unknow; {{trigger.to_state.name}}
, what is correct syntax now?
Can you help me please?
Thx in advance
Damien