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