mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-09-14 07:45:48 +00:00
Reorginizing packages...
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user