Sunset lights delay should now survive a reboot
This commit is contained in:
164
flows.json
164
flows.json
@@ -6856,7 +6856,7 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 2060,
|
"x": 2260,
|
||||||
"y": 180,
|
"y": 180,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
@@ -6894,10 +6894,10 @@
|
|||||||
"y": 140,
|
"y": 140,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"f88f5b6e48e5a430"
|
"1de987d9202de646"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"f88f5b6e48e5a430"
|
"1de987d9202de646"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"8a5b225968323ce6"
|
"8a5b225968323ce6"
|
||||||
@@ -6998,31 +6998,6 @@
|
|||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "f88f5b6e48e5a430",
|
|
||||||
"type": "delay",
|
|
||||||
"z": "e44b1e7a8ef7ae1d",
|
|
||||||
"name": "",
|
|
||||||
"pauseType": "delay",
|
|
||||||
"timeout": "30",
|
|
||||||
"timeoutUnits": "minutes",
|
|
||||||
"rate": "1",
|
|
||||||
"nbRateUnits": "1",
|
|
||||||
"rateUnits": "second",
|
|
||||||
"randomFirst": "1",
|
|
||||||
"randomLast": "5",
|
|
||||||
"randomUnits": "seconds",
|
|
||||||
"drop": false,
|
|
||||||
"allowrate": false,
|
|
||||||
"outputs": 1,
|
|
||||||
"x": 1370,
|
|
||||||
"y": 80,
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"4fcc6c68cec50467"
|
|
||||||
]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "990ab49071133125",
|
"id": "990ab49071133125",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
@@ -7049,7 +7024,7 @@
|
|||||||
"from": "",
|
"from": "",
|
||||||
"to": "",
|
"to": "",
|
||||||
"reg": false,
|
"reg": false,
|
||||||
"x": 1790,
|
"x": 1990,
|
||||||
"y": 60,
|
"y": 60,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
@@ -7083,7 +7058,7 @@
|
|||||||
"from": "",
|
"from": "",
|
||||||
"to": "",
|
"to": "",
|
||||||
"reg": false,
|
"reg": false,
|
||||||
"x": 1790,
|
"x": 1990,
|
||||||
"y": 180,
|
"y": 180,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
@@ -7219,7 +7194,7 @@
|
|||||||
"override_payload": "msg",
|
"override_payload": "msg",
|
||||||
"entity_location": "data",
|
"entity_location": "data",
|
||||||
"override_data": "msg",
|
"override_data": "msg",
|
||||||
"x": 1550,
|
"x": 1750,
|
||||||
"y": 80,
|
"y": 80,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
@@ -7266,7 +7241,7 @@
|
|||||||
"override_payload": "msg",
|
"override_payload": "msg",
|
||||||
"entity_location": "data",
|
"entity_location": "data",
|
||||||
"override_data": "msg",
|
"override_data": "msg",
|
||||||
"x": 1550,
|
"x": 1750,
|
||||||
"y": 180,
|
"y": 180,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
@@ -7303,7 +7278,7 @@
|
|||||||
"from": "",
|
"from": "",
|
||||||
"to": "",
|
"to": "",
|
||||||
"reg": false,
|
"reg": false,
|
||||||
"x": 2050,
|
"x": 2250,
|
||||||
"y": 120,
|
"y": 120,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
@@ -7371,7 +7346,7 @@
|
|||||||
"77c69154733e7366",
|
"77c69154733e7366",
|
||||||
"907ad93232629cb5"
|
"907ad93232629cb5"
|
||||||
],
|
],
|
||||||
"x": 1805,
|
"x": 2005,
|
||||||
"y": 120,
|
"y": 120,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
@@ -7641,7 +7616,7 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 2320,
|
"x": 2520,
|
||||||
"y": 120,
|
"y": 120,
|
||||||
"wires": [
|
"wires": [
|
||||||
[]
|
[]
|
||||||
@@ -7666,7 +7641,7 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 2320,
|
"x": 2520,
|
||||||
"y": 180,
|
"y": 180,
|
||||||
"wires": [
|
"wires": [
|
||||||
[]
|
[]
|
||||||
@@ -7943,6 +7918,123 @@
|
|||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "1de987d9202de646",
|
||||||
|
"type": "api-call-service",
|
||||||
|
"z": "e44b1e7a8ef7ae1d",
|
||||||
|
"name": "Start Timer",
|
||||||
|
"server": "9e87348d.9c1c48",
|
||||||
|
"version": 5,
|
||||||
|
"debugenabled": false,
|
||||||
|
"domain": "timer",
|
||||||
|
"service": "start",
|
||||||
|
"areaId": [],
|
||||||
|
"deviceId": [],
|
||||||
|
"entityId": [
|
||||||
|
"timer.sunset_lighting_timer"
|
||||||
|
],
|
||||||
|
"data": "{\t \"duration\":\"00:30:00\"\t}",
|
||||||
|
"dataType": "jsonata",
|
||||||
|
"mergeContext": "",
|
||||||
|
"mustacheAltTags": false,
|
||||||
|
"outputProperties": [],
|
||||||
|
"queue": "none",
|
||||||
|
"x": 1350,
|
||||||
|
"y": 40,
|
||||||
|
"wires": [
|
||||||
|
[]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "6995391c94793f08",
|
||||||
|
"type": "server-events",
|
||||||
|
"z": "e44b1e7a8ef7ae1d",
|
||||||
|
"name": "Timer Finished",
|
||||||
|
"server": "9e87348d.9c1c48",
|
||||||
|
"version": 2,
|
||||||
|
"eventType": "timer.finished",
|
||||||
|
"exposeToHomeAssistant": false,
|
||||||
|
"haConfig": [
|
||||||
|
{
|
||||||
|
"property": "name",
|
||||||
|
"value": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"property": "icon",
|
||||||
|
"value": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"waitForRunning": true,
|
||||||
|
"outputProperties": [
|
||||||
|
{
|
||||||
|
"property": "payload",
|
||||||
|
"propertyType": "msg",
|
||||||
|
"value": "$outputData(\"eventData\").entity_id",
|
||||||
|
"valueType": "jsonata"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x": 1380,
|
||||||
|
"y": 100,
|
||||||
|
"wires": [
|
||||||
|
[
|
||||||
|
"0040b6a41c0561cb"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "0040b6a41c0561cb",
|
||||||
|
"type": "switch",
|
||||||
|
"z": "e44b1e7a8ef7ae1d",
|
||||||
|
"name": "",
|
||||||
|
"property": "payload",
|
||||||
|
"propertyType": "msg",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"t": "cont",
|
||||||
|
"v": "timer.sunset_lighting_timer",
|
||||||
|
"vt": "str"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"checkall": "true",
|
||||||
|
"repair": false,
|
||||||
|
"outputs": 1,
|
||||||
|
"x": 1550,
|
||||||
|
"y": 100,
|
||||||
|
"wires": [
|
||||||
|
[
|
||||||
|
"4fcc6c68cec50467"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1661877c3165ccd8",
|
||||||
|
"type": "inject",
|
||||||
|
"z": "e44b1e7a8ef7ae1d",
|
||||||
|
"name": "",
|
||||||
|
"props": [
|
||||||
|
{
|
||||||
|
"p": "payload"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"p": "topic",
|
||||||
|
"vt": "str"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"repeat": "",
|
||||||
|
"crontab": "",
|
||||||
|
"once": false,
|
||||||
|
"onceDelay": 0.1,
|
||||||
|
"topic": "",
|
||||||
|
"payload": "",
|
||||||
|
"payloadType": "date",
|
||||||
|
"x": 1120,
|
||||||
|
"y": 40,
|
||||||
|
"wires": [
|
||||||
|
[
|
||||||
|
"1de987d9202de646"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "134433d6e21dab5b",
|
"id": "134433d6e21dab5b",
|
||||||
"type": "server-state-changed",
|
"type": "server-state-changed",
|
||||||
|
|||||||
Reference in New Issue
Block a user