mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
Changed all references to VMwareInfo.com to vCloudInfo.com and also HTTP to HTTPS.
This commit is contained in:
@@ -124,13 +124,13 @@
|
||||
{%- macro days_until() -%}
|
||||
{% set month=states("sensor.date").split('-')[1] | int %}
|
||||
{%- if month == 4 or month == 5 -%}
|
||||
There are {{ states.sensor.mothersday_countdown.state }} days until Mothers day!
|
||||
and don't forget, there are {{ states.sensor.mothersday_countdown.state }} days until Mothers day!
|
||||
{%- elif month == 6 -%}
|
||||
There are {{ states.sensor.fathersday_countdown.state }} days until Fathers day!
|
||||
and don't forget, there are {{ states.sensor.fathersday_countdown.state }} days until Fathers day!
|
||||
{%- elif month == 9 or month == 10 -%}
|
||||
There are {{ states.sensor.halloween_countdown.state }} days until Halloween!
|
||||
and don't forget, there are {{ states.sensor.halloween_countdown.state }} days until Halloween!
|
||||
{%- elif month == 11 or month == 12 -%}
|
||||
There are {{ states.sensor.xmas_countdown.state }} days until Christmas!
|
||||
and don't forget, there are {{ states.sensor.xmas_countdown.state }} days until Christmas!
|
||||
{% endif %}
|
||||
{%- endmacro -%}
|
||||
|
||||
|
Reference in New Issue
Block a user