mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-14 15:51:02 +00:00
Quarantine modifications to School months.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
- condition: template
|
||||
value_template: >
|
||||
{% 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
|
||||
{%- endif -%}
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.downstairs_nest_away
|
||||
to: 'off'
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: group.family
|
||||
to: 'not_home'
|
||||
|
Reference in New Issue
Block a user