From 0637e0f0614bbee027ac10c34a4861ce8673f7b3 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sun, 1 Feb 2026 18:39:03 -0500 Subject: [PATCH] Goodnight only turns on living room DND mode during quiet time --- flows.json | 74 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 62 insertions(+), 12 deletions(-) diff --git a/flows.json b/flows.json index 21d3f4d..5d9b5ff 100644 --- a/flows.json +++ b/flows.json @@ -2861,12 +2861,13 @@ "334c28e08be1db12", "de09ef54cbab864a", "5c919106ebd7c9d4", - "75072695f27adae7" + "75072695f27adae7", + "12e0c7c54a58f849" ], "x": 54, "y": 239, "w": 1092, - "h": 322 + "h": 382 }, { "id": "7d1c0a1099be4427", @@ -28230,8 +28231,9 @@ "09c7a61f7a4c4d05", "60ce44747cf3e507", "50e351d1ee6108b3", - "f30486c8e11db0e4", - "334c28e08be1db12" + "334c28e08be1db12", + "20b3699a56b0e901", + "12e0c7c54a58f849" ] ] }, @@ -28263,12 +28265,10 @@ "blockInputOverrides": false, "domain": "switch", "service": "turn_on", - "x": 680, - "y": 460, + "x": 880, + "y": 520, "wires": [ - [ - "20b3699a56b0e901" - ] + [] ] }, { @@ -28296,7 +28296,7 @@ "domain": "script", "service": "turn_on", "x": 890, - "y": 520, + "y": 580, "wires": [ [] ] @@ -28328,7 +28328,7 @@ "blockInputOverrides": false, "domain": "input_boolean", "service": "turn_off", - "x": 930, + "x": 730, "y": 460, "wires": [ [] @@ -28429,7 +28429,7 @@ "finalize": "", "libs": [], "x": 680, - "y": 520, + "y": 580, "wires": [ [ "9bd4665845af0545" @@ -28878,6 +28878,56 @@ ], "l": false }, + { + "id": "12e0c7c54a58f849", + "type": "api-current-state", + "z": "9824adcf61e30734", + "g": "f4057835848d0904", + "name": "Quiet Time?", + "server": "9e87348d.9c1c48", + "version": 3, + "outputs": 2, + "halt_if": "on", + "halt_if_type": "str", + "halt_if_compare": "is", + "entity_id": "binary_sensor.quiet_time", + "state_type": "str", + "blockInputOverrides": true, + "outputProperties": [ + { + "property": "payload", + "propertyType": "msg", + "value": "", + "valueType": "entityState" + }, + { + "property": "data", + "propertyType": "msg", + "value": "", + "valueType": "entity" + } + ], + "for": "0", + "forType": "num", + "forUnits": "minutes", + "override_topic": false, + "state_location": "payload", + "override_payload": "msg", + "entity_location": "data", + "override_data": "msg", + "x": 670, + "y": 520, + "wires": [ + [ + "f30486c8e11db0e4" + ], + [] + ], + "outputLabels": [ + "On", + "Off" + ] + }, { "id": "6f84caa4bd59a747", "type": "ha-button",