Shut off K's bedroom light whenever he leaves

This commit is contained in:
2023-04-25 16:32:48 -04:00
parent 52f940e0d9
commit 58254e07de

View File

@@ -725,9 +725,7 @@
"37f1c11c59a6ce16" "37f1c11c59a6ce16"
], ],
"x": 94, "x": 94,
"y": 339, "y": 339
"w": 1872,
"h": 622
}, },
{ {
"id": "39a7ac02f2727f1d", "id": "39a7ac02f2727f1d",
@@ -763,9 +761,7 @@
"274d63b8df8f2dd0" "274d63b8df8f2dd0"
], ],
"x": 14, "x": 14,
"y": 719, "y": 719
"w": 1112,
"h": 582
}, },
{ {
"id": "e065b1ed4938b477", "id": "e065b1ed4938b477",
@@ -831,9 +827,7 @@
"96f6dcaa16f8ee6f" "96f6dcaa16f8ee6f"
], ],
"x": 14, "x": 14,
"y": 19, "y": 19
"w": 2112,
"h": 682
}, },
{ {
"id": "5c50443a84910fb7", "id": "5c50443a84910fb7",
@@ -992,9 +986,7 @@
"7cb8056b3b41a9e8" "7cb8056b3b41a9e8"
], ],
"x": 34, "x": 34,
"y": 779, "y": 779
"w": 1012,
"h": 442
}, },
{ {
"id": "f55a52c40b8b8749", "id": "f55a52c40b8b8749",
@@ -1039,9 +1031,7 @@
"318bee4424125dd5" "318bee4424125dd5"
], ],
"x": 34, "x": 34,
"y": 19, "y": 19
"w": 832,
"h": 742
}, },
{ {
"id": "208284848b13b85b", "id": "208284848b13b85b",
@@ -1072,9 +1062,7 @@
"1e1891c23a6e7e64" "1e1891c23a6e7e64"
], ],
"x": 34, "x": 34,
"y": 239, "y": 239
"w": 1132,
"h": 382
}, },
{ {
"id": "1ca205a84922c8c2", "id": "1ca205a84922c8c2",
@@ -1159,9 +1147,7 @@
"f5fb96bf1a33b3cd" "f5fb96bf1a33b3cd"
], ],
"x": 54, "x": 54,
"y": 19, "y": 19
"w": 1492,
"h": 282
}, },
{ {
"id": "0c81dfaed25d225c", "id": "0c81dfaed25d225c",
@@ -1215,9 +1201,7 @@
"b281061a4b08d2eb" "b281061a4b08d2eb"
], ],
"x": 14, "x": 14,
"y": 539, "y": 539
"w": 612,
"h": 202
}, },
{ {
"id": "550e5b2d99316b12", "id": "550e5b2d99316b12",
@@ -1240,9 +1224,7 @@
"61cb79c998ee0b59" "61cb79c998ee0b59"
], ],
"x": 34, "x": 34,
"y": 639, "y": 639
"w": 1072,
"h": 202
}, },
{ {
"id": "f519aff597ece351", "id": "f519aff597ece351",
@@ -8234,7 +8216,7 @@
"8a450e797b413418" "8a450e797b413418"
], ],
[ [
"fb1afc4c2078ca29" "8584a491587be9a2"
] ]
], ],
"outputLabels": [ "outputLabels": [
@@ -8292,10 +8274,12 @@
"mustacheAltTags": false, "mustacheAltTags": false,
"outputProperties": [], "outputProperties": [],
"queue": "none", "queue": "none",
"x": 420, "x": 640,
"y": 760, "y": 760,
"wires": [ "wires": [
[] [
"156d50efeaeb681c"
]
] ]
}, },
{ {
@@ -8772,7 +8756,7 @@
"5193627a30d1b32d" "5193627a30d1b32d"
], ],
[ [
"fb1afc4c2078ca29" "8584a491587be9a2"
] ]
], ],
"outputLabels": [ "outputLabels": [
@@ -9993,7 +9977,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "fd29421fc00140a8", "broker": "fd29421fc00140a8",
"x": 620, "x": 840,
"y": 760, "y": 760,
"wires": [] "wires": []
}, },
@@ -10197,6 +10181,35 @@
[] []
] ]
}, },
{
"id": "8584a491587be9a2",
"type": "api-call-service",
"z": "3abb5ae57afb4761",
"name": "Bedroom Lights Off",
"server": "9e87348d.9c1c48",
"version": 5,
"debugenabled": false,
"domain": "light",
"service": "turn_off",
"areaId": [],
"deviceId": [],
"entityId": [
"light.kallen_bedroom_lights"
],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 410,
"y": 760,
"wires": [
[
"fb1afc4c2078ca29"
]
]
},
{ {
"id": "d95d9964546768a5", "id": "d95d9964546768a5",
"type": "server-state-changed", "type": "server-state-changed",