Sorted out spelling issue #575

This commit is contained in:
ccostan
2020-04-07 14:12:13 -04:00
parent 25a9b8755c
commit 683c4cac3a
6 changed files with 9 additions and 6 deletions

View File

@@ -149,9 +149,9 @@
{%- macro days_until() -%}
{% set month=states("sensor.date").split('-')[1] | int %}
{%- if month == 4 or month == 5 -%}
and don't forget, there are {{ states.sensor.mothersday_countdown.state }} days until Mothers day!
and don't forget, there are {{ states.sensor.mothers_countdown.state }} days until Mothers day!
{%- elif month == 6 -%}
and don't forget, there are {{ states.sensor.fathersday_countdown.state }} days until Fathers day!
and don't forget, there are {{ states.sensor.fathers_countdown.state }} days until Fathers day!
{%- elif month == 9 or month == 10 -%}
and don't forget, there are {{ states.sensor.halloween_countdown.state }} days until Halloween!
{%- elif month == 11 or month == 12 -%}