From 942eff794e6b28aa11ce41f1c9af33ea20eb4a92 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 13 Feb 2025 16:36:31 -0500 Subject: [PATCH] Master bedroom wakeup briefing now checks for DND switch --- flows.json | 48 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 3 deletions(-) diff --git a/flows.json b/flows.json index 5924d0c..dda477d 100644 --- a/flows.json +++ b/flows.json @@ -919,7 +919,8 @@ "d6c81a79393be92c", "88b10efda9e2c047", "96cf0949902f8572", - "6bbf7df2c43c481e" + "6bbf7df2c43c481e", + "02f922bba32e4c71" ], "x": 14, "y": 11.5, @@ -20969,6 +20970,7 @@ "server": "9e87348d.9c1c48", "version": 7, "debugenabled": false, + "action": "", "floorId": [], "areaId": [], "deviceId": [], @@ -20983,7 +20985,7 @@ "blockInputOverrides": false, "domain": "", "service": "", - "x": 820, + "x": 1020, "y": 420, "wires": [ [] @@ -21011,7 +21013,7 @@ "y": 420, "wires": [ [ - "96cf0949902f8572" + "02f922bba32e4c71" ] ], "l": false @@ -21048,6 +21050,46 @@ [] ] }, + { + "id": "02f922bba32e4c71", + "type": "api-current-state", + "z": "72f99805df043603", + "g": "e065b1ed4938b477", + "name": "Do Not Disturb", + "server": "9e87348d.9c1c48", + "version": 3, + "outputs": 2, + "halt_if": "off", + "halt_if_type": "str", + "halt_if_compare": "is", + "entity_id": "switch.master_bedroom_echo_dot_do_not_disturb_switch", + "state_type": "str", + "blockInputOverrides": true, + "outputProperties": [ + { + "property": "payload", + "propertyType": "msg", + "value": "", + "valueType": "entityState" + } + ], + "for": "0", + "forType": "num", + "forUnits": "minutes", + "override_topic": false, + "state_location": "payload", + "override_payload": "msg", + "entity_location": "data", + "override_data": "msg", + "x": 820, + "y": 420, + "wires": [ + [ + "96cf0949902f8572" + ], + [] + ] + }, { "id": "48b8af9419ed18d6", "type": "subflow:384eaf2f63dcb5db",