Quarantine modifications to School months.
This commit is contained in:
parent
ad2e627e98
commit
f0f7d08092
|
@ -1 +1 @@
|
||||||
0.113.2
|
0.113.3
|
|
@ -19,7 +19,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 == 4 or month == 5 or month == 6 or month == 7 -%}
|
{%- if month == 4 or month == 5 or month == 6 or month == 7 or month == 8 -%}
|
||||||
true
|
true
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.downstairs_nest_away
|
entity_id: binary_sensor.downstairs_nest_away
|
||||||
to: 'off'
|
to: 'on'
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: group.family
|
entity_id: group.family
|
||||||
to: 'not_home'
|
to: 'not_home'
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 37 KiB |
Binary file not shown.
Before Width: | Height: | Size: 179 KiB After Width: | Height: | Size: 172 KiB |
Loading…
Reference in New Issue