From 3b62a62c48f5f53854c8e4f7b6c84aa47ab6c450 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 23 Jan 2023 14:08:51 -0500 Subject: [PATCH] Add warning about cold nights --- templates/speech/nightly_briefing.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/speech/nightly_briefing.yaml b/templates/speech/nightly_briefing.yaml index 19b05d4..d737bea 100644 --- a/templates/speech/nightly_briefing.yaml +++ b/templates/speech/nightly_briefing.yaml @@ -422,6 +422,12 @@ {% endif %}

+

+ {% if (states('sensor.tonights_low_temp') | int) <= (states('input_number.overnight_low_threshold') | int ) %} + "It will be very cold tonight, make sure to use extra blankets, wear more clothes, or whatever else will help you stay warm! Additionally, make sure Emma's heater is set high enough!" + {% endif %} +

+

{% set windows = states('sensor.windows_open') %} {% set doors = states('sensor.doors_open') %}