Fix incorrect naptime climate mode for E's room, close #165

This commit is contained in:
2023-11-06 23:38:11 -05:00
parent 2d59ae5043
commit f8ecfb490e
2 changed files with 8 additions and 0 deletions

View File

@ -265,6 +265,9 @@ automation:
- condition: state - condition: state
entity_id: input_boolean.emma_bedroom_climate_override entity_id: input_boolean.emma_bedroom_climate_override
state: 'off' state: 'off'
- condition: state
entity_id: input_boolean.emma_bedroom_aircon_installed
state: 'on'
action: action:
- service: input_select.select_option - service: input_select.select_option
target: target:

View File

@ -675,6 +675,11 @@ script:
entity_id: input_datetime.emma_wakeup entity_id: input_datetime.emma_wakeup
data: data:
time: "{{ states('input_datetime.master_bedroom_wakeup') }}" time: "{{ states('input_datetime.master_bedroom_wakeup') }}"
- service: input_select.select_option
target:
entity_id: input_select.naptime_climate_mode_emma_aircon
data:
option: "{{ states('input_select.scheduled_climate_mode_emma_aircon') }}"
- service: input_boolean.turn_on - service: input_boolean.turn_on
target: target:
entity_id: input_boolean.emma_scheduling_morning_ran entity_id: input_boolean.emma_scheduling_morning_ran