mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-15 12:34:42 +00:00
Use condition shorthand notations
This commit is contained in:
@@ -19,9 +19,7 @@ script:
|
||||
tapo_bedroom_toggle:
|
||||
sequence:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: "{{ state_attr('camera.bedroom_hd', 'privacy_mode') == 'off' }}"
|
||||
- conditions: "{{ state_attr('camera.bedroom_hd', 'privacy_mode') == 'off' }}"
|
||||
sequence:
|
||||
- service: script.tapo_bedroom_off
|
||||
|
||||
|
||||
Reference in New Issue
Block a user