mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-17 01:52:58 +00:00
Use condition shorthand notations
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user