2 Commits

View File

@ -1958,11 +1958,13 @@
"33773b3aaa551b79",
"f30486c8e11db0e4",
"9bd4665845af0545",
"20b3699a56b0e901"
"20b3699a56b0e901",
"f3df71ec460b7609",
"775777f1c01e424c"
],
"x": 14,
"y": 239,
"w": 1052,
"w": 1092,
"h": 322
},
{
@ -4642,6 +4644,39 @@
],
"resend": false
},
{
"id": "351ed2425ad19fc4",
"type": "ha-entity-config",
"server": "9e87348d.9c1c48",
"deviceConfig": "",
"name": "Tornado Possible",
"version": 6,
"entityType": "binary_sensor",
"haConfig": [
{
"property": "name",
"value": "Tornado Possible"
},
{
"property": "icon",
"value": "mdi:weather-tornado"
},
{
"property": "entity_picture",
"value": ""
},
{
"property": "entity_category",
"value": ""
},
{
"property": "device_class",
"value": "safety"
}
],
"resend": false,
"debugEnabled": false
},
{
"id": "afead614fabc01bb",
"type": "function",
@ -23810,7 +23845,7 @@
"y": 340,
"wires": [
[
"33773b3aaa551b79"
"775777f1c01e424c"
]
]
},
@ -23838,7 +23873,7 @@
"blockInputOverrides": false,
"domain": "script",
"service": "kallen_desktop_shutdown",
"x": 920,
"x": 960,
"y": 400,
"wires": [
[]
@ -23954,7 +23989,7 @@
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"x": 600,
"x": 640,
"y": 340,
"wires": [
[
@ -23989,7 +24024,7 @@
"blockInputOverrides": false,
"domain": "alarm_control_panel",
"service": "alarm_arm_home",
"x": 810,
"x": 850,
"y": 340,
"wires": [
[]
@ -24096,7 +24131,7 @@
"55e84ccb73ae9b74",
"bc592ba259667f9d"
],
"x": 535,
"x": 575,
"y": 280,
"wires": []
},
@ -24449,7 +24484,7 @@
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"x": 640,
"x": 680,
"y": 400,
"wires": [
[
@ -25088,7 +25123,7 @@
"type": "api-call-service",
"z": "5c4ac37140a54ac9",
"g": "f4057835848d0904",
"name": "Goodnight Switch",
"name": "MB Sleep Switch",
"server": "9e87348d.9c1c48",
"version": 7,
"debugenabled": false,
@ -25097,9 +25132,7 @@
"areaId": [],
"deviceId": [],
"entityId": [
"input_boolean.goodnight",
"input_boolean.master_bedroom_sleeping",
"input_boolean.night_mode"
"input_boolean.master_bedroom_sleeping"
],
"labelId": [],
"data": "",
@ -25111,7 +25144,7 @@
"blockInputOverrides": false,
"domain": "input_boolean",
"service": "turn_on",
"x": 330,
"x": 370,
"y": 340,
"wires": [
[
@ -25151,7 +25184,7 @@
"blockInputOverrides": false,
"domain": "switch",
"service": "turn_on",
"x": 600,
"x": 640,
"y": 460,
"wires": [
[
@ -25187,7 +25220,7 @@
"blockInputOverrides": false,
"domain": "script",
"service": "turn_on",
"x": 610,
"x": 650,
"y": 520,
"wires": [
[]
@ -25247,7 +25280,7 @@
"blockInputOverrides": false,
"domain": "input_boolean",
"service": "turn_off",
"x": 850,
"x": 890,
"y": 460,
"wires": [
[]
@ -25744,6 +25777,87 @@
[]
]
},
{
"id": "f3df71ec460b7609",
"type": "api-call-service",
"z": "5c4ac37140a54ac9",
"g": "f4057835848d0904",
"name": "Goodnight Switch",
"server": "9e87348d.9c1c48",
"version": 7,
"debugenabled": false,
"action": "input_boolean.turn_on",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"input_boolean.goodnight",
"input_boolean.night_mode"
],
"labelId": [],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": false,
"domain": "input_boolean",
"service": "turn_on",
"x": 370,
"y": 400,
"wires": [
[]
]
},
{
"id": "775777f1c01e424c",
"type": "api-current-state",
"z": "5c4ac37140a54ac9",
"g": "f4057835848d0904",
"name": "Early Night Mode",
"server": "9e87348d.9c1c48",
"version": 3,
"outputs": 2,
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "binary_sensor.early_night_mode",
"state_type": "str",
"blockInputOverrides": true,
"outputProperties": [
{
"property": "earlynight",
"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": 215,
"y": 340,
"wires": [
[
"f3df71ec460b7609",
"33773b3aaa551b79"
],
[
"33773b3aaa551b79"
]
],
"outputLabels": [
"On",
"Off"
],
"l": false
},
{
"id": "6a37c598ccfec0c7",
"type": "google-home",
@ -29368,6 +29482,66 @@
]
]
},
{
"id": "d1174b9e62e02408",
"type": "mqtt in",
"z": "ebd5561c4f077718",
"name": "Tornado Possible",
"topic": "weather/alerts/defiance/severe_thunderstorm_warning/tornado_possible",
"qos": "2",
"datatype": "auto-detect",
"broker": "fd29421fc00140a8",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 160,
"y": 640,
"wires": [
[
"205fe5192ed90a99"
]
]
},
{
"id": "205fe5192ed90a99",
"type": "function",
"z": "ebd5561c4f077718",
"name": "Processing",
"func": "let payload = msg.payload\nlet newPayload = {}\n\nif (payload > 0) {\n newPayload = \"on\"\n} else {\n newPayload = \"off\"\n}\n\nmsg.payload = newPayload\nreturn msg",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 295,
"y": 640,
"wires": [
[
"426c7aed27dd2185"
]
],
"l": false
},
{
"id": "426c7aed27dd2185",
"type": "ha-binary-sensor",
"z": "ebd5561c4f077718",
"name": "Tornado Possible",
"entityConfig": "351ed2425ad19fc4",
"version": 0,
"state": "payload",
"stateType": "msg",
"attributes": [],
"inputOverride": "allow",
"outputProperties": [],
"x": 450,
"y": 640,
"wires": [
[]
]
},
{
"id": "1f7af146c06b8b85",
"type": "ha-select",