From 69292f413ae75e3132397c84ff78208d181baaa5 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 21 Nov 2022 19:20:19 -0500 Subject: [PATCH] Added mention of frost risk to weather briefing #59 --- templates/speech/weather_briefing_full.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/speech/weather_briefing_full.yaml b/templates/speech/weather_briefing_full.yaml index b46f643..cca5e5f 100644 --- a/templates/speech/weather_briefing_full.yaml +++ b/templates/speech/weather_briefing_full.yaml @@ -12,6 +12,14 @@ {{ states('sensor.clothing_forecast_detail') }}

+

+ {% if is_state('sensor.outside_frostrisk','high') %} + "There is currently a high chance of frost outside. Plan accordingly! " + {% elif is_state('sensor.outside_frostrisk','probable') %} + "The possibility of frost exists currently. Be prepared. " + {% endif %} +

+

{% if states('sensor.weatheralerts_active_alerts') > '0' %} "Currently there are weather alerts active. The total number of alerts is {{ states('sensor.weatheralerts_active_alerts') }}. They are as follows. "