Don't leave E's aircon on after she wakes up
This commit is contained in:
@ -1067,9 +1067,9 @@ script:
|
||||
target:
|
||||
entity_id: input_boolean.white_noise_emma_bedroom
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{ is_state('fan.emma_air_conditioner','on') and is_state('input_boolean.hot_day','off') }}
|
||||
- condition: state
|
||||
entity_id: fan.emma_air_conditioner
|
||||
state: 'on'
|
||||
then:
|
||||
- service: script.turn_on
|
||||
target:
|
||||
|
Reference in New Issue
Block a user