From e96ac0b88002e6c7e5ea2bfc1a30097ea409da06 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Fri, 1 Apr 2022 13:48:54 -0400 Subject: [PATCH] First attempt at binary sensor for school time --- template.yaml | 4 ++++ 1 file changed, 4 insertions(+) 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