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

@ -1254,12 +1254,7 @@ script:
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: template
value_template: >
{% if type in ['critical','Critical','alert','Alert'] %}
true
{% else %}
false
{% endif %}
value_template: "{{ type in ['critical','Critical','alert','Alert'] }}"
- condition: state
entity_id: group.adults
state: 'home'
@ -1459,12 +1454,7 @@ script:
sequence:
- if:
- condition: template
value_template: >
{% if type in ['critical','Critical'] %}
true
{% else %}
false
{% endif %}
value_template: "{{ type in ['critical','Critical'] }}"
then:
- service: media_player.volume_set
target: