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

@ -95,14 +95,14 @@ sensor:
scan_interval: 43200 scan_interval: 43200
- platform: rest - platform: rest
name: Mother's Day Countdown name: Mothers Countdown
resource: !secret wolframalpha_mothersday_api resource: !secret wolframalpha_mothersday_api
value_template: "{{ (value|replace(' days', '')) | int }}" value_template: "{{ (value|replace(' days', '')) | int }}"
unit_of_measurement: Days unit_of_measurement: Days
scan_interval: 43200 scan_interval: 43200
- platform: rest - platform: rest
name: Father's Day Countdown name: Fathers Countdown
resource: !secret wolframalpha_fathersday_api resource: !secret wolframalpha_fathersday_api
value_template: "{{ (value|replace(' days', '')) | int }}" value_template: "{{ (value|replace(' days', '')) | int }}"
unit_of_measurement: Days unit_of_measurement: Days

View File

@ -276,7 +276,7 @@ automation:
"S02E11", "S02E12","S02E13", "S02E14","S02E15", "S02E16","S02E17", "S02E18","S02E19", "S02E20", "S02E11", "S02E12","S02E13", "S02E14","S02E15", "S02E16","S02E17", "S02E18","S02E19", "S02E20",
"S02E22", "S02E25", "S02E26", "S02E27", "S02E28", "S02E29", "S02E30", "S02E31", "S02E32", "S02E33", "S02E34", "S02E22", "S02E25", "S02E26", "S02E27", "S02E28", "S02E29", "S02E30", "S02E31", "S02E32", "S02E33", "S02E34",
"S02E35", "S02E36", "S02E37", "S02E38", "S02E39", "S02E40","S02E41", "Bearnews1", "Bearnews2", "Bearnews3", "Bearnews4", "S02E35", "S02E36", "S02E37", "S02E38", "S02E39", "S02E40","S02E41", "Bearnews1", "Bearnews2", "Bearnews3", "Bearnews4",
"S03E01" "S03E01", "Bearnews5"
] %} ] %}
{{ pick|random }} {{ pick|random }}
@ -306,6 +306,6 @@ automation:
"S02E11", "S02E12","S02E13", "S02E14","S02E15", "S02E16","S02E17", "S02E18","S02E19", "S02E20", "S02E11", "S02E12","S02E13", "S02E14","S02E15", "S02E16","S02E17", "S02E18","S02E19", "S02E20",
"S02E22", "S02E25", "S02E26", "S02E27", "S02E28", "S02E29", "S02E30", "S02E31", "S02E32", "S02E33", "S02E34", "S02E22", "S02E25", "S02E26", "S02E27", "S02E28", "S02E29", "S02E30", "S02E31", "S02E32", "S02E33", "S02E34",
"S02E35", "S02E36", "S02E37", "S02E38", "S02E39", "S02E40","S02E41", "Bearnews1", "Bearnews2", "Bearnews3", "Bearnews4", "S02E35", "S02E36", "S02E37", "S02E38", "S02E39", "S02E40","S02E41", "Bearnews1", "Bearnews2", "Bearnews3", "Bearnews4",
"S03E01" "S03E01", "Bearnews5"
] %} ] %}
{{ pick|random }} {{ pick|random }}

View File

@ -222,6 +222,9 @@ tweet_youtube_engine_setup:
], ],
"S03E01": [ "S03E01": [
"How to Add Webhooks to Home Assistant (https://www.vcloudinfo.com/2020/02/how-to-add-webhooks-to-home-assistant.html)" "How to Add Webhooks to Home Assistant (https://www.vcloudinfo.com/2020/02/how-to-add-webhooks-to-home-assistant.html)"
],
"Bearnews5": [
"8 Free News Channels for your Roku (https://www.vcloudinfo.com/2020/04/8-free-roku-news-channels.html)"
] ]
} %} } %}

View File

@ -149,9 +149,9 @@
{%- macro days_until() -%} {%- macro days_until() -%}
{% set month=states("sensor.date").split('-')[1] | int %} {% set month=states("sensor.date").split('-')[1] | int %}
{%- if month == 4 or month == 5 -%} {%- 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 -%} {%- 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 -%} {%- elif month == 9 or month == 10 -%}
and don't forget, 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 -%} {%- elif month == 11 or month == 12 -%}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 101 KiB