On hot days, leave upstairs climate devices on when we leave

This commit is contained in:
2023-06-18 16:15:34 -04:00
parent af4fecc2c7
commit c34d3a7e63

View File

@ -579,6 +579,17 @@ script:
entity_id: entity_id:
- input_boolean.white_noise_kallen_bedroom - input_boolean.white_noise_kallen_bedroom
- input_boolean.white_noise_emma_bedroom - input_boolean.white_noise_emma_bedroom
- if:
- condition: not
conditions:
- condition: state
entity_id:
- input_boolean.hot_day
- binary_sensor.heat_warning
- binary_sensor.heat_threshold
- binary_sensor.heat_index_threshold
state: 'on'
then:
- service: fan.turn_off - service: fan.turn_off
target: target:
area_id: area_id:
@ -586,6 +597,12 @@ script:
- kallen_bedroom - kallen_bedroom
- master_bedroom - master_bedroom
- emma_bedroom - emma_bedroom
else:
- service: fan.turn_off
target:
area_id:
- basement_studio
- master_bedroom
- delay: - delay:
seconds: 5 seconds: 5
- service: switch.turn_on - service: switch.turn_on