mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-03-26 14:19:34 +00:00
Updating School months in response to COVID situation.
This commit is contained in:
parent
f19c31d9b0
commit
25a9b8755c
@ -1 +1 @@
|
|||||||
0.106.0
|
0.107.7
|
@ -7,7 +7,7 @@
|
|||||||
###################################
|
###################################
|
||||||
|
|
||||||
- alias: Check if it's summer vacation on startup.
|
- alias: Check if it's summer vacation on startup.
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
event: start
|
event: start
|
||||||
@ -18,7 +18,7 @@
|
|||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
{% set month=states("sensor.date").split('-')[1] | int %}
|
{% set month=states("sensor.date").split('-')[1] | int %}
|
||||||
{%- if month == 6 or month == 7 -%}
|
{%- if month == 4 or month == 5 or month == 6 or month == 7 -%}
|
||||||
true
|
true
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 54 KiB |
Binary file not shown.
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 88 KiB |
Loading…
x
Reference in New Issue
Block a user