Don't leave E's aircon on after she wakes up

This commit is contained in:
2024-07-03 15:52:56 -04:00
parent 563a2144f3
commit 254eee8d72

View File

@ -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: