For "basement on", only ask to turn K's computer on if it isn't already

This commit is contained in:
2023-06-12 21:48:27 -04:00
parent 95b38e2a49
commit 44b0ad23cb

View File

@ -770,9 +770,7 @@
"3937c38bc1bd0ee0"
],
"x": 14,
"y": 719,
"w": 1432,
"h": 642
"y": 719
},
{
"id": "e065b1ed4938b477",
@ -845,9 +843,7 @@
"3c6cb0ed0847f8ee"
],
"x": 14,
"y": 19,
"w": 2252,
"h": 682
"y": 19
},
{
"id": "5c50443a84910fb7",
@ -1096,7 +1092,9 @@
"1e1891c23a6e7e64"
],
"x": 34,
"y": 239
"y": 239,
"w": 1132,
"h": 382
},
{
"id": "1ca205a84922c8c2",
@ -1255,10 +1253,14 @@
"795c53ad6642733a",
"ea5306d6f92d9550",
"4829663e9913e2aa",
"61cb79c998ee0b59"
"61cb79c998ee0b59",
"73078f818abdc6c2",
"2516c6e3146cc851"
],
"x": 34,
"y": 639
"y": 619,
"w": 1112,
"h": 282
},
{
"id": "f519aff597ece351",
@ -14092,7 +14094,7 @@
"572b2040be874f4e"
],
"x": 75,
"y": 740,
"y": 800,
"wires": [
[
"11aabd786c07244f"
@ -14182,7 +14184,7 @@
}
],
"x": 130,
"y": 800,
"y": 860,
"wires": [
[
"11aabd786c07244f"
@ -14209,8 +14211,8 @@
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 620,
"y": 680,
"x": 680,
"y": 740,
"wires": [
[
"ea5306d6f92d9550"
@ -14239,7 +14241,8 @@
"y": 680,
"wires": [
[
"61cb79c998ee0b59"
"61cb79c998ee0b59",
"2516c6e3146cc851"
]
],
"l": false
@ -14257,10 +14260,10 @@
"finalize": "",
"libs": [],
"x": 255,
"y": 740,
"y": 800,
"wires": [
[
"795c53ad6642733a"
"73078f818abdc6c2"
]
],
"l": false
@ -14285,8 +14288,8 @@
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 620,
"y": 740,
"x": 680,
"y": 860,
"wires": [
[
"ea5306d6f92d9550"
@ -14313,7 +14316,7 @@
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 870,
"x": 910,
"y": 740,
"wires": [
[
@ -14343,7 +14346,7 @@
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 1030,
"x": 1070,
"y": 740,
"wires": [
[]
@ -14369,14 +14372,100 @@
"from": "",
"to": "",
"reg": false,
"x": 390,
"y": 680,
"x": 410,
"y": 740,
"wires": [
[
"b3bb08ff51e46985"
]
]
},
{
"id": "73078f818abdc6c2",
"type": "api-current-state",
"z": "47f17992fab9b4f5",
"g": "550e5b2d99316b12",
"name": "Kallen's Computer On?",
"server": "9e87348d.9c1c48",
"version": 3,
"outputs": 2,
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "binary_sensor.kallen_desktop_on",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [
{
"property": "kallen_pc",
"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": 430,
"y": 800,
"wires": [
[
"ea5306d6f92d9550"
],
[
"795c53ad6642733a",
"ea5306d6f92d9550"
]
]
},
{
"id": "2516c6e3146cc851",
"type": "api-current-state",
"z": "47f17992fab9b4f5",
"g": "550e5b2d99316b12",
"name": "Kallen's Computer On?",
"server": "9e87348d.9c1c48",
"version": 3,
"outputs": 2,
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "binary_sensor.kallen_desktop_on",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [
{
"property": "kallen_pc",
"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": 430,
"y": 660,
"wires": [
[
"ea5306d6f92d9550"
],
[
"61cb79c998ee0b59",
"ea5306d6f92d9550"
]
]
},
{
"id": "091390f43bfeddf5",
"type": "api-call-service",
@ -22414,7 +22503,8 @@
"name": "iOS Action - Basement On",
"mode": "link",
"links": [
"1f5808147fa975cf"
"1f5808147fa975cf",
"94a3504c0109082c"
],
"x": 465,
"y": 560,