From 854c6139d092194dd7e8f7adbf4d7fa36e287557 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 14 Dec 2022 15:54:35 -0500 Subject: [PATCH] Inhibit door open notification in basement if doorbell recently rung --- flows.json | 107 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 66 insertions(+), 41 deletions(-) diff --git a/flows.json b/flows.json index dec0911..361cf8e 100644 --- a/flows.json +++ b/flows.json @@ -638,9 +638,7 @@ "da70285e80c3f195" ], "x": 94, - "y": 339, - "w": 1872, - "h": 582 + "y": 339 }, { "id": "39a7ac02f2727f1d", @@ -680,9 +678,7 @@ "e0751f3bf2a2e610" ], "x": 14, - "y": 759, - "w": 1172, - "h": 482 + "y": 759 }, { "id": "e065b1ed4938b477", @@ -774,9 +770,7 @@ "67509a5554fc091f" ], "x": 14, - "y": 59, - "w": 2722, - "h": 682 + "y": 59 }, { "id": "5c50443a84910fb7", @@ -832,9 +826,7 @@ "b2bc83c9195efe0f" ], "x": 14, - "y": 39, - "w": 872, - "h": 142 + "y": 39 }, { "id": "50e4d951ee7b3e54", @@ -856,9 +848,7 @@ "427cc2991454bbf0" ], "x": 14, - "y": 219, - "w": 1012, - "h": 202 + "y": 219 }, { "id": "fbbe69a14cbe0236", @@ -903,9 +893,7 @@ "d00db0647d1c4034" ], "x": 34, - "y": 39, - "w": 652, - "h": 682 + "y": 39 }, { "id": "46275dd0f9461013", @@ -922,9 +910,7 @@ "619d1474239faf58" ], "x": 34, - "y": 739, - "w": 472, - "h": 142 + "y": 739 }, { "id": "ff6d8150e8d5e606", @@ -965,9 +951,7 @@ "0968727f2138ac62" ], "x": 34, - "y": 779, - "w": 1432, - "h": 462 + "y": 779 }, { "id": "f55a52c40b8b8749", @@ -1012,9 +996,7 @@ "318bee4424125dd5" ], "x": 34, - "y": 19, - "w": 832, - "h": 742 + "y": 19 }, { "id": "208284848b13b85b", @@ -1042,11 +1024,12 @@ "3c83c0ab0aa96e3d", "1a7c87f9713e5349", "7b71cb1967ec5255", - "1e1891c23a6e7e64" + "1e1891c23a6e7e64", + "2d5ec93a6ad16ce2" ], "x": 34, "y": 239, - "w": 1112, + "w": 1332, "h": 382 }, { @@ -1182,9 +1165,7 @@ "6b039ef7895476e2" ], "x": 14, - "y": 439, - "w": 1452, - "h": 422 + "y": 439 }, { "id": "eeafd13be593ae69", @@ -1223,9 +1204,7 @@ "528d5448879fd3db" ], "x": 54, - "y": 19, - "w": 2092, - "h": 282 + "y": 19 }, { "id": "19b0e082db0643ac", @@ -12390,7 +12369,7 @@ "cycles": "8", "persist": "false", "power_on": "true", - "x": 970, + "x": 1190, "y": 520, "wires": [] }, @@ -12500,7 +12479,7 @@ "y": 520, "wires": [ [ - "59af14a564176ce4" + "2d5ec93a6ad16ce2" ], [] ] @@ -12523,7 +12502,7 @@ "drop": false, "allowrate": false, "outputs": 1, - "x": 915, + "x": 1135, "y": 460, "wires": [ [ @@ -12586,7 +12565,7 @@ "mustacheAltTags": false, "outputProperties": [], "queue": "none", - "x": 970, + "x": 1190, "y": 580, "wires": [ [] @@ -12677,7 +12656,7 @@ "override_payload": "msg", "entity_location": "data", "override_data": "msg", - "x": 780, + "x": 980, "y": 520, "wires": [ [ @@ -12794,12 +12773,58 @@ "mustacheAltTags": false, "outputProperties": [], "queue": "none", - "x": 1040, + "x": 1260, "y": 460, "wires": [ [] ] }, + { + "id": "2d5ec93a6ad16ce2", + "type": "api-current-state", + "z": "47f17992fab9b4f5", + "g": "208284848b13b85b", + "name": "Doorbell State", + "server": "9e87348d.9c1c48", + "version": 3, + "outputs": 2, + "halt_if": "off", + "halt_if_type": "str", + "halt_if_compare": "is", + "entity_id": "binary_sensor.front_doorbell_ding_mqtt", + "state_type": "str", + "blockInputOverrides": false, + "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": 780, + "y": 520, + "wires": [ + [ + "59af14a564176ce4" + ], + [] + ] + }, { "id": "091390f43bfeddf5", "type": "api-call-service",