From 65961797b63855f294d6a5839c3f4bdd5e0de072 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 13 Oct 2022 19:31:33 -0400 Subject: [PATCH] Hot day tweaks #52 --- templates/speech/nightly_briefing.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/speech/nightly_briefing.yaml b/templates/speech/nightly_briefing.yaml index 1477680..494a7fb 100644 --- a/templates/speech/nightly_briefing.yaml +++ b/templates/speech/nightly_briefing.yaml @@ -24,6 +24,8 @@

"Bedroom climate scheduling will be as follows. " {% if is_state('input_boolean.master_bedroom_aircon_installed','on') %} + {% if is_state('input_select.scheduled_climate_mode_master_bedroom_aircon','AC') and is_state('input_boolean.hot_day','on') %} + "Today was a hot day, so the master bedroom air conditioner will activate cooling mode a bit earlier tonight at {{ (state_attr('input_datetime.master_bedroom_cooling','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " {% if is_state('input_select.scheduled_climate_mode_master_bedroom_aircon','AC') %} "The master bedroom air conditioner will activate cooling mode at {{ (state_attr('input_datetime.master_bedroom_cooling','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " {% elif is_state('input_select.scheduled_climate_mode_master_bedroom_aircon','Fan') %}