Use condition: not

This commit is contained in:
2020-05-20 22:11:49 +03:00
parent 8a10d75709
commit 1fe258ec11
6 changed files with 38 additions and 14 deletions
+5 -2
View File
@@ -30,8 +30,11 @@ script:
alias: Speech · Say
sequence:
# Don't talk while in night mode.
- condition: template
value_template: "{{ not is_state('input_select.house_mode', 'night') }}"
- condition: not
conditions:
- condition: state
entity_id: input_select.house_mode
state: 'night'
# Combine partials for speech message.
- service: script.say_discretely
data_template: