From e585513d5c0011c592c4d72741f1c7eb673e59fd Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 19 Jul 2023 13:54:03 -0400 Subject: [PATCH] Disable living room night lighting during the day This will get rid of an assload of unnecessary service calls/state changes during the day when conditions prevent the automation from running anyway. --- node-red/projects/NerdFlows | 2 +- scripts.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/node-red/projects/NerdFlows b/node-red/projects/NerdFlows index 7d83dae..dedda6b 160000 --- a/node-red/projects/NerdFlows +++ b/node-red/projects/NerdFlows @@ -1 +1 @@ -Subproject commit 7d83dae7ae0a2f81c13a8cce15dd75b01be6640e +Subproject commit dedda6b58f3e1f93cb158ee6822472ba9c821fbc diff --git a/scripts.yaml b/scripts.yaml index 95ec3e7..7ea1395 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -317,6 +317,11 @@ going_upstairs: response_variable: shutdown alias: Ask in basement alias: Ask about shutting down main computer + - service: automation.turn_on + data: {} + target: + entity_id: automation.living_room_night_lighting + alias: Turn on motion lighting in living room - wait_for_trigger: - platform: state entity_id: