Minor tweak for last day of school

This commit is contained in:
2022-05-25 02:01:56 -04:00
parent e7bb2ed03b
commit 5fe95fe8d4

View File

@ -82,6 +82,11 @@
{{states.calendar.national_holidays.attributes.message | replace("&"," and ") }}. {{states.calendar.national_holidays.attributes.message | replace("&"," and ") }}.
{%- endif -%} {%- endif -%}
</p> </p>
<p>
{% if now().strftime('%Y-%m-%d') == states.input_datetime.school_last_day.state %}
Congratulations, today is the last day of school! Have an awesome day!
{% endif %}
</p>
<p> <p>
{% if is_state('input_boolean.school_today','on') and is_state('input_boolean.work_today','on') %} {% if is_state('input_boolean.school_today','on') and is_state('input_boolean.work_today','on') %}