blueprints/automation/wd-close-weather-notification.yaml aktualisiert
This commit is contained in:
@@ -98,10 +98,11 @@ action:
|
|||||||
|
|
||||||
- service: notify.notify
|
- service: notify.notify
|
||||||
data:
|
data:
|
||||||
target: !input.notify_target
|
target: "{{ !input 'notify_target' }}"
|
||||||
message: >
|
message: >
|
||||||
{{ !input.custom_message
|
{{ !input.custom_message
|
||||||
| replace('{{ entity_name }}', states(trigger.entity_id).attributes.friendly_name)
|
| replace('{{ entity_name }}', states(trigger.entity_id).attributes.friendly_name)
|
||||||
| replace('{{ temperature }}', current_temp | string)
|
| replace('{{ temperature }}', current_temp | string)
|
||||||
| replace('{{ condition }}', current_condition)
|
| replace('{{ condition }}', current_condition)
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user