From 3c934b30049bb3064e23bb0a892c6f95e34547fe Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 14 Sep 2022 15:27:27 -0400 Subject: [PATCH] Added some randomness to Welcome Home weather readout #30 --- templates/speech/welcome_home.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/speech/welcome_home.yaml b/templates/speech/welcome_home.yaml index 9cc1961..5dee3ee 100644 --- a/templates/speech/welcome_home.yaml +++ b/templates/speech/welcome_home.yaml @@ -54,7 +54,14 @@

- As you are no doubt aware, the weather outside is {{ state_attr('weather.iron_nerd_weather_station','temperature') | round }} degrees + {{ [ + "As you are no doubt aware, ", + "Even though you just came in from out there, I feel compelled to inform you that ", + "In case you weren't paying attention, ", + "If you were wondering, ", + "For some reason, I still feel the need to inform you that " + ] | random }} + "the weather outside is {{ state_attr('weather.iron_nerd_weather_station','temperature') | round }} degrees" {% if is_state('weather.iron_nerd_weather_station','rainy') %} {{ [ 'with rain.',