From 522835fb5e6146d96c22dd5f49f671b65de73f99 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Tue, 20 Dec 2022 20:06:37 -0500 Subject: [PATCH] Remove auto-disable of Delivery Mode, added midnight cleanup --- automations.yaml | 23 +++++++++++++++++++++++ node-red/projects/NerdFlows | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/automations.yaml b/automations.yaml index 5997dc9..f75023a 100644 --- a/automations.yaml +++ b/automations.yaml @@ -435,3 +435,26 @@ target: entity_id: media_player.emma_bedroom_speaker mode: single +- id: '1671584633378' + alias: Delivery Mode Cleanup + description: '' + trigger: + - platform: time + at: 00:00:00 + alias: At midnight + condition: + - condition: state + entity_id: input_boolean.delivery_mode + state: 'on' + alias: If Delivery Mode is on + for: + hours: 1 + minutes: 0 + seconds: 0 + action: + - service: input_boolean.turn_off + data: {} + target: + entity_id: input_boolean.delivery_mode + alias: Turn off Delivery Mode + mode: single diff --git a/node-red/projects/NerdFlows b/node-red/projects/NerdFlows index 8ac2122..819c634 160000 --- a/node-red/projects/NerdFlows +++ b/node-red/projects/NerdFlows @@ -1 +1 @@ -Subproject commit 8ac212299a974e940313e771f28f6eca17358f0b +Subproject commit 819c634e5e3999ee28d8056123f36f4cdcd9114f