From c245f7f5b3ca8296043b129efc82d604776bf159 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 16 Feb 2023 13:00:46 -0500 Subject: [PATCH] Add security provisions to Good Morning flow #75 --- automations.yaml | 2 ++ node-red/projects/NerdFlows | 2 +- packages/security.yaml | 12 ++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/automations.yaml b/automations.yaml index 56f17b2..f12c998 100644 --- a/automations.yaml +++ b/automations.yaml @@ -331,6 +331,8 @@ entity_id: - automation.family_has_arrived - automation.family_has_left + - automation.scheduled_alarm_rearm + - automation.scheduled_alarm_disarm - service: switch.turn_off target: entity_id: diff --git a/node-red/projects/NerdFlows b/node-red/projects/NerdFlows index c15f901..e59f26b 160000 --- a/node-red/projects/NerdFlows +++ b/node-red/projects/NerdFlows @@ -1 +1 @@ -Subproject commit c15f901fdcdc576aac1a266933c4fda0c58629b3 +Subproject commit e59f26b30877272017dfbd86637e104a1211aaba diff --git a/packages/security.yaml b/packages/security.yaml index e243041..3120f8b 100644 --- a/packages/security.yaml +++ b/packages/security.yaml @@ -360,6 +360,18 @@ automation: target: entity_id: input_boolean.vacation_mode + - id: 027f6f05-289f-4f3d-925e-54d95226ea34 + alias: Security Schedules Reset + trigger: + - platform: time + at: "00:00:00" + action: + - service: automation.turn_on + target: + entity_id: + - automation.scheduled_alarm_rearm + - automation.scheduled_alarm_disarm + script: security_arm_home: alias: Security Arm - Home