From 5635836b00691aba3cc3aaf3d947c2cd943e0208 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 1 Dec 2022 18:30:14 -0500 Subject: [PATCH] Should also turn off boolean upon rectifying faults #60 --- packages/security.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/security.yaml b/packages/security.yaml index eba1c93..606cdaf 100644 --- a/packages/security.yaml +++ b/packages/security.yaml @@ -211,6 +211,11 @@ automation: - wait_template: "{{ is_state('sensor.total_faults','0') }}" timeout: minutes: 10 + - service: input_boolean.turn_off + target: + entity_id: input_boolean.lockdown_issue + - wait: + seconds: 3 - if: - condition: state entity_id: binary_sensor.people_present