diff --git a/template.yaml b/template.yaml index 6cc8914..0b3215d 100644 --- a/template.yaml +++ b/template.yaml @@ -3,3 +3,7 @@ binary_sensor: state: > {{ is_state('person.tony_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') }} \ No newline at end of file