Reorginizing packages...

This commit is contained in:
Jeffrey Stone
2020-11-07 11:20:26 -05:00
parent 7cc6b7d9d5
commit a2c75ab131
13 changed files with 318 additions and 161 deletions

View File

@@ -73,7 +73,7 @@ automation:
- condition: template
value_template: >
{%- set event=states.calendar.holidays_in_united_states.attributes.message %}
{%- if event == 'Halloween' %}
{%- if event == 'Halloween' and states.calendar.holidays_in_united_states.state == 'on'%}
true
{%- endif -%}
# If all conditions are true, then lets turn this thing on.
@@ -260,4 +260,4 @@ script:
# resource: !secret WA_HALLOWEEN
# value_template: "{{ (value|replace(' days', '')) | int }}"
# unit_of_measurement: Days
# scan_interval: 43200
# scan_interval: 43200