#Notifier text substitution
1 messages · Page 1 of 1 (latest)
action:
- choose:
- conditions:
- condition: trigger
id:- Hall
sequence:
- Hall
- service: notify.telegram
metadata: {}
data:
message: "Hall motion {{ states('binary_sensor.hall_motion_iaszone') }}"
- condition: trigger
- conditions:
This works but displays "on" or "off" after "Hall motion" which is not ideal. Is there an elegant way to change "on" and "off" to "detected" and "clear" on the fly please?
Is your HA up to date? If so:
https://www.home-assistant.io/blog/2024/03/06/release-20243/#translating-states-in-your-templates