Updating School months in response to COVID situation.

This commit is contained in:
ccostan 2020-03-29 15:38:12 -04:00
parent f19c31d9b0
commit 25a9b8755c
4 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
0.106.0
0.107.7

View File

@ -7,7 +7,7 @@
###################################
- alias: Check if it's summer vacation on startup.
trigger:
- platform: homeassistant
event: start
@ -18,7 +18,7 @@
- condition: template
value_template: >
{% 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
{%- 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