Fixed incorrect readout for first day of school

This commit is contained in:
2022-08-23 14:36:59 -04:00
parent 390f9d9945
commit de8090efb7

View File

@ -46,7 +46,7 @@
' left of summer break.', ' left of summer break.',
'Until School starts again.' 'Until School starts again.'
] | random }} ] | random }}
{% elif states.sensor.school_start_days2go.state | int == 1 -%} {% elif states.sensor.school_start_days2go.state | int == 0 -%}
Tomorrow is the first day of school. Are you ready? Tomorrow is the first day of school. Are you ready?
{%- endif %} {%- endif %}
{% if states.sensor.school_end_days2go.state | int < 15 and states.sensor.school_end_days2go.state | int > 0 -%} {% if states.sensor.school_end_days2go.state | int < 15 and states.sensor.school_end_days2go.state | int > 0 -%}