First attempt at binary sensor for school time

This commit is contained in:
2022-04-01 13:48:54 -04:00
parent df77aa7238
commit e96ac0b880

View File

@ -3,3 +3,7 @@ binary_sensor:
state: > state: >
{{ is_state('person.tony_stork', 'home') {{ is_state('person.tony_stork', 'home')
or is_state('person.christina_stork', 'home') }} or is_state('person.christina_stork', 'home') }}
- name: School Time
state: >
{{ is_state('binary_sensor.school', 'on')
and is_state('binary_sensor.workday_sensor', 'on') }}