From 106f465f96c0a29b9067bcf715aae81d65ae8b1d Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 1 Dec 2022 17:24:20 -0500 Subject: [PATCH] Security reschedule will now only run when wife has work today #61 --- packages/security.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/security.yaml b/packages/security.yaml index e731585..00da890 100644 --- a/packages/security.yaml +++ b/packages/security.yaml @@ -188,7 +188,12 @@ automation: state: 'on' action: - service: script.security_arm_home - - service: script.security_scheduling + - if: + - condition: state + entity_id: input_boolean.work_today + state: 'on' + then: + - service: script.security_scheduling script: security_arm_home: