New night/goodnight handling
This commit is contained in:
198
flows.json
198
flows.json
@ -690,9 +690,7 @@
|
|||||||
"95812f5094f32d6b"
|
"95812f5094f32d6b"
|
||||||
],
|
],
|
||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 719,
|
"y": 719
|
||||||
"w": 1332,
|
|
||||||
"h": 562
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "e065b1ed4938b477",
|
"id": "e065b1ed4938b477",
|
||||||
@ -782,9 +780,7 @@
|
|||||||
"67509a5554fc091f"
|
"67509a5554fc091f"
|
||||||
],
|
],
|
||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 19,
|
"y": 19
|
||||||
"w": 2722,
|
|
||||||
"h": 682
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "5c50443a84910fb7",
|
"id": "5c50443a84910fb7",
|
||||||
@ -820,9 +816,7 @@
|
|||||||
"420322f4757ddf6e"
|
"420322f4757ddf6e"
|
||||||
],
|
],
|
||||||
"x": 34,
|
"x": 34,
|
||||||
"y": 159,
|
"y": 159
|
||||||
"w": 1052,
|
|
||||||
"h": 482
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "477e752fcd2e2a19",
|
"id": "477e752fcd2e2a19",
|
||||||
@ -844,9 +838,7 @@
|
|||||||
"b2bc83c9195efe0f"
|
"b2bc83c9195efe0f"
|
||||||
],
|
],
|
||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 39,
|
"y": 39
|
||||||
"w": 872,
|
|
||||||
"h": 142
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "50e4d951ee7b3e54",
|
"id": "50e4d951ee7b3e54",
|
||||||
@ -868,9 +860,7 @@
|
|||||||
"3c03edd9c35f85f8"
|
"3c03edd9c35f85f8"
|
||||||
],
|
],
|
||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 219,
|
"y": 219
|
||||||
"w": 1012,
|
|
||||||
"h": 202
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "fbbe69a14cbe0236",
|
"id": "fbbe69a14cbe0236",
|
||||||
@ -915,9 +905,7 @@
|
|||||||
"d00db0647d1c4034"
|
"d00db0647d1c4034"
|
||||||
],
|
],
|
||||||
"x": 34,
|
"x": 34,
|
||||||
"y": 39,
|
"y": 39
|
||||||
"w": 652,
|
|
||||||
"h": 682
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "46275dd0f9461013",
|
"id": "46275dd0f9461013",
|
||||||
@ -935,9 +923,7 @@
|
|||||||
"ca88f85ba00a6744"
|
"ca88f85ba00a6744"
|
||||||
],
|
],
|
||||||
"x": 34,
|
"x": 34,
|
||||||
"y": 739,
|
"y": 739
|
||||||
"w": 472,
|
|
||||||
"h": 202
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "ff6d8150e8d5e606",
|
"id": "ff6d8150e8d5e606",
|
||||||
@ -978,9 +964,7 @@
|
|||||||
"0968727f2138ac62"
|
"0968727f2138ac62"
|
||||||
],
|
],
|
||||||
"x": 34,
|
"x": 34,
|
||||||
"y": 779,
|
"y": 779
|
||||||
"w": 1432,
|
|
||||||
"h": 462
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "f55a52c40b8b8749",
|
"id": "f55a52c40b8b8749",
|
||||||
@ -1025,9 +1009,7 @@
|
|||||||
"318bee4424125dd5"
|
"318bee4424125dd5"
|
||||||
],
|
],
|
||||||
"x": 34,
|
"x": 34,
|
||||||
"y": 19,
|
"y": 19
|
||||||
"w": 832,
|
|
||||||
"h": 742
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "208284848b13b85b",
|
"id": "208284848b13b85b",
|
||||||
@ -1123,9 +1105,7 @@
|
|||||||
"6b039ef7895476e2"
|
"6b039ef7895476e2"
|
||||||
],
|
],
|
||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 439,
|
"y": 439
|
||||||
"w": 1452,
|
|
||||||
"h": 422
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "eeafd13be593ae69",
|
"id": "eeafd13be593ae69",
|
||||||
@ -1166,9 +1146,7 @@
|
|||||||
"8c29a2e1a06c5524"
|
"8c29a2e1a06c5524"
|
||||||
],
|
],
|
||||||
"x": 54,
|
"x": 54,
|
||||||
"y": 19,
|
"y": 19
|
||||||
"w": 2152,
|
|
||||||
"h": 282
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "0c81dfaed25d225c",
|
"id": "0c81dfaed25d225c",
|
||||||
@ -1202,9 +1180,7 @@
|
|||||||
"37bdac2c9a4e2837"
|
"37bdac2c9a4e2837"
|
||||||
],
|
],
|
||||||
"x": 54,
|
"x": 54,
|
||||||
"y": 39,
|
"y": 39
|
||||||
"w": 1652,
|
|
||||||
"h": 382
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "8aee4d340a136bac",
|
"id": "8aee4d340a136bac",
|
||||||
@ -1280,9 +1256,7 @@
|
|||||||
"c8af362d48d5c0ad"
|
"c8af362d48d5c0ad"
|
||||||
],
|
],
|
||||||
"x": 54,
|
"x": 54,
|
||||||
"y": 39,
|
"y": 39
|
||||||
"w": 852,
|
|
||||||
"h": 622
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "26f91eb2ef77450d",
|
"id": "26f91eb2ef77450d",
|
||||||
@ -1299,9 +1273,7 @@
|
|||||||
"e97b782efaaf5976"
|
"e97b782efaaf5976"
|
||||||
],
|
],
|
||||||
"x": 64,
|
"x": 64,
|
||||||
"y": 699,
|
"y": 699
|
||||||
"w": 672,
|
|
||||||
"h": 82
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "a46fc8e7e70ca893",
|
"id": "a46fc8e7e70ca893",
|
||||||
@ -1377,9 +1349,7 @@
|
|||||||
"51d05298561cfddb"
|
"51d05298561cfddb"
|
||||||
],
|
],
|
||||||
"x": 714,
|
"x": 714,
|
||||||
"y": 39,
|
"y": 39
|
||||||
"w": 672,
|
|
||||||
"h": 262
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "b708cb6d93f40dee",
|
"id": "b708cb6d93f40dee",
|
||||||
@ -7598,7 +7568,7 @@
|
|||||||
"id": "4781b749d186cd7f",
|
"id": "4781b749d186cd7f",
|
||||||
"type": "api-call-service",
|
"type": "api-call-service",
|
||||||
"z": "e44b1e7a8ef7ae1d",
|
"z": "e44b1e7a8ef7ae1d",
|
||||||
"name": "Night Mode Off",
|
"name": "Turn off booleans",
|
||||||
"server": "9e87348d.9c1c48",
|
"server": "9e87348d.9c1c48",
|
||||||
"version": 5,
|
"version": 5,
|
||||||
"debugenabled": false,
|
"debugenabled": false,
|
||||||
@ -7607,6 +7577,8 @@
|
|||||||
"areaId": [],
|
"areaId": [],
|
||||||
"deviceId": [],
|
"deviceId": [],
|
||||||
"entityId": [
|
"entityId": [
|
||||||
|
"input_boolean.give_me_darkness",
|
||||||
|
"input_boolean.goodnight",
|
||||||
"input_boolean.night_mode"
|
"input_boolean.night_mode"
|
||||||
],
|
],
|
||||||
"data": "",
|
"data": "",
|
||||||
@ -7615,12 +7587,10 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 740,
|
"x": 750,
|
||||||
"y": 320,
|
"y": 320,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[]
|
||||||
"344119e7ca7012d5"
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -8513,33 +8483,6 @@
|
|||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "344119e7ca7012d5",
|
|
||||||
"type": "api-call-service",
|
|
||||||
"z": "e44b1e7a8ef7ae1d",
|
|
||||||
"name": "Give Me Darkness Off",
|
|
||||||
"server": "9e87348d.9c1c48",
|
|
||||||
"version": 5,
|
|
||||||
"debugenabled": false,
|
|
||||||
"domain": "input_boolean",
|
|
||||||
"service": "turn_off",
|
|
||||||
"areaId": [],
|
|
||||||
"deviceId": [],
|
|
||||||
"entityId": [
|
|
||||||
"input_boolean.give_me_darkness"
|
|
||||||
],
|
|
||||||
"data": "",
|
|
||||||
"dataType": "jsonata",
|
|
||||||
"mergeContext": "",
|
|
||||||
"mustacheAltTags": false,
|
|
||||||
"outputProperties": [],
|
|
||||||
"queue": "none",
|
|
||||||
"x": 960,
|
|
||||||
"y": 320,
|
|
||||||
"wires": [
|
|
||||||
[]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "d0cac72a2cc0d7a7",
|
"id": "d0cac72a2cc0d7a7",
|
||||||
"type": "api-current-state",
|
"type": "api-current-state",
|
||||||
@ -21795,7 +21738,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"x": 120,
|
"x": 120,
|
||||||
"y": 700,
|
"y": 740,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"fa09d8a69bcbfbb5"
|
"fa09d8a69bcbfbb5"
|
||||||
@ -21824,12 +21767,13 @@
|
|||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"f30486c8e11db0e4",
|
"f30486c8e11db0e4",
|
||||||
"d9e39b8ebb86c941",
|
|
||||||
"582a6e14b94a5a6d",
|
"582a6e14b94a5a6d",
|
||||||
"57772c8b792e014d",
|
"57772c8b792e014d",
|
||||||
"028351e8c4e2faf5",
|
"028351e8c4e2faf5",
|
||||||
"f935318d262547d5",
|
"f935318d262547d5",
|
||||||
"60ce44747cf3e507"
|
"60ce44747cf3e507",
|
||||||
|
"50e351d1ee6108b3",
|
||||||
|
"33773b3aaa551b79"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -21921,7 +21865,7 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 360,
|
"x": 640,
|
||||||
"y": 500,
|
"y": 500,
|
||||||
"wires": [
|
"wires": [
|
||||||
[]
|
[]
|
||||||
@ -21986,7 +21930,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"x": 110,
|
"x": 110,
|
||||||
"y": 760,
|
"y": 800,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"1d121bd0f1f5d628"
|
"1d121bd0f1f5d628"
|
||||||
@ -22007,7 +21951,7 @@
|
|||||||
"statusVal": "",
|
"statusVal": "",
|
||||||
"statusType": "auto",
|
"statusType": "auto",
|
||||||
"x": 650,
|
"x": 650,
|
||||||
"y": 760,
|
"y": 800,
|
||||||
"wires": []
|
"wires": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -22030,7 +21974,7 @@
|
|||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 510,
|
"x": 510,
|
||||||
"y": 760,
|
"y": 800,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"5eb7493d13b65a60"
|
"5eb7493d13b65a60"
|
||||||
@ -22148,7 +22092,7 @@
|
|||||||
"statusVal": "",
|
"statusVal": "",
|
||||||
"statusType": "auto",
|
"statusType": "auto",
|
||||||
"x": 670,
|
"x": 670,
|
||||||
"y": 700,
|
"y": 740,
|
||||||
"wires": []
|
"wires": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -22171,7 +22115,7 @@
|
|||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 530,
|
"x": 530,
|
||||||
"y": 700,
|
"y": 740,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"28a99bbb21540cbc"
|
"28a99bbb21540cbc"
|
||||||
@ -22184,7 +22128,7 @@
|
|||||||
"z": "5c4ac37140a54ac9",
|
"z": "5c4ac37140a54ac9",
|
||||||
"name": "",
|
"name": "",
|
||||||
"x": 340,
|
"x": 340,
|
||||||
"y": 700,
|
"y": 740,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"3363b9392f425a55"
|
"3363b9392f425a55"
|
||||||
@ -22197,7 +22141,7 @@
|
|||||||
"z": "5c4ac37140a54ac9",
|
"z": "5c4ac37140a54ac9",
|
||||||
"name": "",
|
"name": "",
|
||||||
"x": 320,
|
"x": 320,
|
||||||
"y": 760,
|
"y": 800,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"804c40c435c342fc"
|
"804c40c435c342fc"
|
||||||
@ -22366,7 +22310,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"x": 130,
|
"x": 130,
|
||||||
"y": 820,
|
"y": 860,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"ed96b2ce33128205"
|
"ed96b2ce33128205"
|
||||||
@ -22379,7 +22323,7 @@
|
|||||||
"z": "5c4ac37140a54ac9",
|
"z": "5c4ac37140a54ac9",
|
||||||
"name": "",
|
"name": "",
|
||||||
"x": 360,
|
"x": 360,
|
||||||
"y": 820,
|
"y": 860,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"08eafe762d6146ee"
|
"08eafe762d6146ee"
|
||||||
@ -22406,7 +22350,7 @@
|
|||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 550,
|
"x": 550,
|
||||||
"y": 820,
|
"y": 860,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"e39da18ec3ecc852"
|
"e39da18ec3ecc852"
|
||||||
@ -22427,7 +22371,7 @@
|
|||||||
"statusVal": "",
|
"statusVal": "",
|
||||||
"statusType": "auto",
|
"statusType": "auto",
|
||||||
"x": 690,
|
"x": 690,
|
||||||
"y": 820,
|
"y": 860,
|
||||||
"wires": []
|
"wires": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -22837,6 +22781,76 @@
|
|||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "50e351d1ee6108b3",
|
||||||
|
"type": "api-current-state",
|
||||||
|
"z": "5c4ac37140a54ac9",
|
||||||
|
"name": "Kallen Computer Updates?",
|
||||||
|
"server": "9e87348d.9c1c48",
|
||||||
|
"version": 3,
|
||||||
|
"outputs": 2,
|
||||||
|
"halt_if": "off",
|
||||||
|
"halt_if_type": "str",
|
||||||
|
"halt_if_compare": "is",
|
||||||
|
"entity_id": "input_boolean.kallen_computer_updates",
|
||||||
|
"state_type": "str",
|
||||||
|
"blockInputOverrides": false,
|
||||||
|
"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": 360,
|
||||||
|
"y": 500,
|
||||||
|
"wires": [
|
||||||
|
[
|
||||||
|
"d9e39b8ebb86c941"
|
||||||
|
],
|
||||||
|
[]
|
||||||
|
],
|
||||||
|
"outputLabels": [
|
||||||
|
"Off",
|
||||||
|
"On"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "33773b3aaa551b79",
|
||||||
|
"type": "api-call-service",
|
||||||
|
"z": "5c4ac37140a54ac9",
|
||||||
|
"name": "Goodnight Switch",
|
||||||
|
"server": "9e87348d.9c1c48",
|
||||||
|
"version": 5,
|
||||||
|
"debugenabled": false,
|
||||||
|
"domain": "input_boolean",
|
||||||
|
"service": "turn_on",
|
||||||
|
"areaId": [],
|
||||||
|
"deviceId": [],
|
||||||
|
"entityId": [
|
||||||
|
"input_boolean.goodnight"
|
||||||
|
],
|
||||||
|
"data": "",
|
||||||
|
"dataType": "jsonata",
|
||||||
|
"mergeContext": "",
|
||||||
|
"mustacheAltTags": false,
|
||||||
|
"outputProperties": [],
|
||||||
|
"queue": "none",
|
||||||
|
"x": 330,
|
||||||
|
"y": 680,
|
||||||
|
"wires": [
|
||||||
|
[]
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "6a37c598ccfec0c7",
|
"id": "6a37c598ccfec0c7",
|
||||||
"type": "google-home",
|
"type": "google-home",
|
||||||
|
Reference in New Issue
Block a user