Storm mode for front porch

home_automation/Home-Assistant-Configs#240
This commit is contained in:
2025-04-19 13:41:18 -04:00
parent db1694fc90
commit 62091db15a

View File

@ -2781,6 +2781,35 @@
"w": 472, "w": 472,
"h": 82 "h": 82
}, },
{
"id": "277dd697dbcfe9c7",
"type": "group",
"z": "b5717a86ce55bc29",
"name": "Storm Mode",
"style": {
"stroke": "#ff0000",
"fill": "#ff3f3f",
"label": true
},
"nodes": [
"d2709b4d48275a22",
"ef4722474ddd6df7",
"994d4b415cfc1726",
"68701ec04bbaacf0",
"2d4e34f55fca3d30",
"742fb59053708930",
"6d9c29e9ac683246",
"d6ef529ccde504ef",
"1bc2077d7cfb57ed",
"6073a1ffd782cbde",
"616e794707796e49",
"b6fa25d3e17bf7ac"
],
"x": 54,
"y": 419,
"w": 1272,
"h": 262
},
{ {
"id": "fba69dfc80829db7", "id": "fba69dfc80829db7",
"type": "junction", "type": "junction",
@ -5712,6 +5741,39 @@
"resend": false, "resend": false,
"debugEnabled": false "debugEnabled": false
}, },
{
"id": "8371db473f46baf2",
"type": "ha-entity-config",
"server": "9e87348d.9c1c48",
"deviceConfig": "",
"name": "Front Porch Storm Mode",
"version": 6,
"entityType": "switch",
"haConfig": [
{
"property": "name",
"value": "Front Porch Storm Mode"
},
{
"property": "icon",
"value": "mdi:lightning-bolt"
},
{
"property": "entity_picture",
"value": ""
},
{
"property": "entity_category",
"value": ""
},
{
"property": "device_class",
"value": ""
}
],
"resend": false,
"debugEnabled": false
},
{ {
"id": "afead614fabc01bb", "id": "afead614fabc01bb",
"type": "function", "type": "function",
@ -19444,6 +19506,450 @@
"y": 60, "y": 60,
"wires": [] "wires": []
}, },
{
"id": "d2709b4d48275a22",
"type": "ha-switch",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"name": "Storm Mode",
"version": 0,
"debugenabled": false,
"inputs": 0,
"outputs": 2,
"entityConfig": "8371db473f46baf2",
"enableInput": false,
"outputOnStateChange": true,
"outputProperties": [
{
"property": "outputType",
"propertyType": "msg",
"value": "state change",
"valueType": "str"
},
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
}
],
"x": 150,
"y": 500,
"wires": [
[
"ef4722474ddd6df7"
],
[
"742fb59053708930"
]
]
},
{
"id": "ef4722474ddd6df7",
"type": "api-current-state",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"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": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "entity"
}
],
"for": "0",
"forType": "num",
"forUnits": "minutes",
"override_topic": false,
"state_location": "payload",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"x": 350,
"y": 460,
"wires": [
[
"2d4e34f55fca3d30"
],
[
"b6fa25d3e17bf7ac"
]
]
},
{
"id": "994d4b415cfc1726",
"type": "api-call-service",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"name": "Turn On",
"server": "9e87348d.9c1c48",
"version": 7,
"debugenabled": false,
"action": "light.turn_on",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"light.front_porch_light"
],
"labelId": [],
"data": "{\t \"rgb_color\": [255,0,0],\t \"brightness_pct\": 100\t}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "light",
"service": "turn_on",
"x": 1000,
"y": 460,
"wires": [
[]
]
},
{
"id": "68701ec04bbaacf0",
"type": "api-call-service",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"name": "Turn Off Adaptive",
"server": "9e87348d.9c1c48",
"version": 7,
"debugenabled": false,
"action": "switch.turn_off",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"switch.adaptive_lighting_front_porch"
],
"labelId": [],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "switch",
"service": "turn_off",
"x": 810,
"y": 460,
"wires": [
[
"994d4b415cfc1726"
]
]
},
{
"id": "2d4e34f55fca3d30",
"type": "api-call-service",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"name": "Turn Off Automation",
"server": "9e87348d.9c1c48",
"version": 7,
"debugenabled": false,
"action": "input_boolean.turn_off",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"input_boolean.front_porch_light_on"
],
"labelId": [],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "input_boolean",
"service": "turn_off",
"x": 580,
"y": 460,
"wires": [
[
"68701ec04bbaacf0"
]
]
},
{
"id": "742fb59053708930",
"type": "api-current-state",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"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": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "entity"
}
],
"for": "0",
"forType": "num",
"forUnits": "minutes",
"override_topic": false,
"state_location": "payload",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"x": 350,
"y": 580,
"wires": [
[
"6d9c29e9ac683246"
],
[]
]
},
{
"id": "6d9c29e9ac683246",
"type": "api-call-service",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"name": "Turn On Automation",
"server": "9e87348d.9c1c48",
"version": 7,
"debugenabled": false,
"action": "input_boolean.turn_on",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"input_boolean.front_porch_light_on"
],
"labelId": [],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "input_boolean",
"service": "turn_on",
"x": 580,
"y": 580,
"wires": [
[
"1bc2077d7cfb57ed"
]
]
},
{
"id": "d6ef529ccde504ef",
"type": "api-call-service",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"name": "Reset Light",
"server": "9e87348d.9c1c48",
"version": 7,
"debugenabled": false,
"action": "input_select.select_option",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"input_select.front_porch_scenes"
],
"labelId": [],
"data": "{\t \"option\":\"Adaptive\"\t}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "input_select",
"service": "select_option",
"x": 1010,
"y": 580,
"wires": [
[]
]
},
{
"id": "1bc2077d7cfb57ed",
"type": "api-current-state",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"name": "Light On?",
"server": "9e87348d.9c1c48",
"version": 3,
"outputs": 2,
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "light.front_porch_light",
"state_type": "str",
"blockInputOverrides": true,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "entity"
}
],
"for": "0",
"forType": "num",
"forUnits": "minutes",
"override_topic": false,
"state_location": "payload",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"x": 780,
"y": 580,
"wires": [
[
"d6ef529ccde504ef"
],
[
"6073a1ffd782cbde"
]
]
},
{
"id": "6073a1ffd782cbde",
"type": "api-call-service",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"name": "Turn On Adaptive",
"server": "9e87348d.9c1c48",
"version": 7,
"debugenabled": false,
"action": "switch.turn_on",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"switch.adaptive_lighting_front_porch"
],
"labelId": [],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "switch",
"service": "turn_on",
"x": 1030,
"y": 640,
"wires": [
[
"616e794707796e49"
]
]
},
{
"id": "616e794707796e49",
"type": "api-call-service",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"name": "Reset Text",
"server": "9e87348d.9c1c48",
"version": 7,
"debugenabled": false,
"action": "input_text.set_value",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"input_text.front_porch_selected_scene"
],
"labelId": [],
"data": "{\t \"value\":\"Adaptive\"\t}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "input_text",
"service": "set_value",
"x": 1230,
"y": 640,
"wires": [
[]
]
},
{
"id": "b6fa25d3e17bf7ac",
"type": "api-call-service",
"z": "b5717a86ce55bc29",
"g": "277dd697dbcfe9c7",
"name": "Turn Storm Mode Off",
"server": "9e87348d.9c1c48",
"version": 7,
"debugenabled": false,
"action": "switch.turn_off",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"switch.front_porch_storm_mode"
],
"labelId": [],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "switch",
"service": "turn_off",
"x": 580,
"y": 520,
"wires": [
[]
]
},
{ {
"id": "3a29cecbefa6cbe2", "id": "3a29cecbefa6cbe2",
"type": "api-call-service", "type": "api-call-service",