Cleaned up a LOT of templates

This commit is contained in:
2023-04-03 23:47:25 -04:00
parent cb52daa5d8
commit 7c3a32e17b
11 changed files with 46 additions and 276 deletions

View File

@ -1699,12 +1699,7 @@ script:
## Create a new persistant notification in the UI for a new alert
- if:
- condition: template
value_template: >
{% if states.sensor.weatheralerts.state != '0' %}
true
{% else %}
false
{% endif %}
value_template: "{{ states.sensor.weatheralerts.state != '0' }}"
then:
- service: persistent_notification.create
data: