Temp fix for lightning alert reset
This commit is contained in:
39
flows.json
39
flows.json
@ -1360,9 +1360,7 @@
|
||||
"e59180a1a6ae0a90"
|
||||
],
|
||||
"x": 1094,
|
||||
"y": 659,
|
||||
"w": 632,
|
||||
"h": 82
|
||||
"y": 659
|
||||
},
|
||||
{
|
||||
"id": "265593f442864b6a",
|
||||
@ -1480,9 +1478,7 @@
|
||||
"99c141f21de4feda"
|
||||
],
|
||||
"x": 74,
|
||||
"y": 39,
|
||||
"w": 1132,
|
||||
"h": 262
|
||||
"y": 39
|
||||
},
|
||||
{
|
||||
"id": "a6de35af12739885",
|
||||
@ -1504,9 +1500,7 @@
|
||||
"724f186878227dad"
|
||||
],
|
||||
"x": 74,
|
||||
"y": 339,
|
||||
"w": 1132,
|
||||
"h": 202
|
||||
"y": 339
|
||||
},
|
||||
{
|
||||
"id": "0804d9edeca1c9fa",
|
||||
@ -1527,9 +1521,7 @@
|
||||
"4523045453de0a33"
|
||||
],
|
||||
"x": 74,
|
||||
"y": 579,
|
||||
"w": 1092,
|
||||
"h": 202
|
||||
"y": 579
|
||||
},
|
||||
{
|
||||
"id": "385f03591bc34bcc",
|
||||
@ -1624,7 +1616,9 @@
|
||||
"6b5d3e550ad76528"
|
||||
],
|
||||
"x": 34,
|
||||
"y": 39
|
||||
"y": 39,
|
||||
"w": 692,
|
||||
"h": 82
|
||||
},
|
||||
{
|
||||
"id": "4329e464360d0afa",
|
||||
@ -1660,7 +1654,9 @@
|
||||
"a586df67c15b0914"
|
||||
],
|
||||
"x": 34,
|
||||
"y": 139
|
||||
"y": 139,
|
||||
"w": 1592,
|
||||
"h": 422
|
||||
},
|
||||
{
|
||||
"id": "fba69dfc80829db7",
|
||||
@ -24939,7 +24935,7 @@
|
||||
"y": 240,
|
||||
"wires": [
|
||||
[
|
||||
"81c14eac4de9dd9d"
|
||||
"b4b80e91a535923e"
|
||||
]
|
||||
]
|
||||
},
|
||||
@ -25307,6 +25303,7 @@
|
||||
"id": "81c14eac4de9dd9d",
|
||||
"type": "function",
|
||||
"z": "ebd5561c4f077718",
|
||||
"d": true,
|
||||
"g": "4329e464360d0afa",
|
||||
"name": "Media?",
|
||||
"func": "var states = global.get('homeassistant.homeAssistant.states')\nvar mediaLivingRoom = states['input_boolean.living_room_entertainment_mode'].state\nvar mediaBasement = states['input_boolean.basement_studio_entertainment_mode'].state\n\nif (mediaLivingRoom === 'on' || mediaBasement === 'on') {\n msg.payload = 'on'\n msg.alert = 'on'\n node.status({fill:\"green\",shape:\"dot\",text:\"Media App Running\"})\n return[msg,null]\n} else {\n node.status({fill:\"blue\",shape:\"dot\",text:\"Otherwise\"})\n return[null,msg]\n}",
|
||||
@ -25315,15 +25312,11 @@
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
"libs": [],
|
||||
"x": 1340,
|
||||
"y": 240,
|
||||
"x": 1320,
|
||||
"y": 480,
|
||||
"wires": [
|
||||
[
|
||||
"a586df67c15b0914"
|
||||
],
|
||||
[
|
||||
"b4b80e91a535923e"
|
||||
]
|
||||
[],
|
||||
[]
|
||||
],
|
||||
"outputLabels": [
|
||||
"media app running",
|
||||
|
Reference in New Issue
Block a user