Added some randomness to Welcome Home weather readout #30

This commit is contained in:
2022-09-14 15:27:27 -04:00
parent 7dc342de7e
commit 3c934b3004

View File

@ -54,7 +54,14 @@
</p> </p>
<p> <p>
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') %} {% if is_state('weather.iron_nerd_weather_station','rainy') %}
{{ [ {{ [
'with rain.', 'with rain.',