From f8ecfb490ed3722b862f278354b9ef90f7408732 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 6 Nov 2023 23:38:11 -0500 Subject: [PATCH] Fix incorrect naptime climate mode for E's room, close #165 --- packages/emmalynn.yaml | 3 +++ packages/scheduling.yaml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/packages/emmalynn.yaml b/packages/emmalynn.yaml index 4c85349..5f116aa 100644 --- a/packages/emmalynn.yaml +++ b/packages/emmalynn.yaml @@ -265,6 +265,9 @@ automation: - condition: state entity_id: input_boolean.emma_bedroom_climate_override state: 'off' + - condition: state + entity_id: input_boolean.emma_bedroom_aircon_installed + state: 'on' action: - service: input_select.select_option target: diff --git a/packages/scheduling.yaml b/packages/scheduling.yaml index ada1703..b8f286c 100644 --- a/packages/scheduling.yaml +++ b/packages/scheduling.yaml @@ -675,6 +675,11 @@ script: entity_id: input_datetime.emma_wakeup data: 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 target: entity_id: input_boolean.emma_scheduling_morning_ran