Use condition shorthand notations

This commit is contained in:
2022-05-07 10:41:32 +03:00
parent bd28132229
commit 4272699dc7
10 changed files with 16 additions and 48 deletions
@@ -44,9 +44,7 @@ script:
alias: Climate · Heating · Toggle radiator
sequence:
- choose:
- conditions:
- condition: template
value_template: "{{ is_state(entity_id, 'off') }}"
- conditions: "{{ is_state(entity_id, 'off') }}"
sequence:
- service: script.maybe_turn_radiator_on
data_template: