Couple of minor tweaks to K's morning briefing

This commit is contained in:
2022-08-24 06:53:43 -04:00
parent 80a50d859f
commit 1d1effc7b0

View File

@ -66,7 +66,7 @@
It is going to be {{ states.sensor.clothing_forecast.state }} today so I suggest wearing shorts. It is going to be {{ states.sensor.clothing_forecast.state }} today so I suggest wearing shorts.
{% endif %} {% endif %}
{% set hightemp = state_attr('sensor.current_forecast','high_temp') | float %} {% set hightemp = state_attr('sensor.current_forecast','high_temp') | float %}
{% if hightemp > 85 %} {% if hightemp > 84 %}
Warning, today will be a very sweaty day, so you need to remember to stay hydrated. Warning, today will be a very sweaty day, so you need to remember to stay hydrated.
{% endif %} {% endif %}
</p> </p>
@ -99,7 +99,7 @@
{% endif %} {% endif %}
{% if is_state ('input_boolean.school_today', 'off') and is_state('sensor.pirateweather_icon', 'snow') %} {% if is_state ('input_boolean.school_today', 'off') and is_state('sensor.pirateweather_icon', 'snow') %}
Do you wanna build a snowman? Do you wanna build a snowman? It's snowing!
{% endif %} {% endif %}
{% if states.sensor.school_end_days2go.state | int == -1 -%} {% if states.sensor.school_end_days2go.state | int == -1 -%}