Add testing for possible forecast entity improvements

This commit is contained in:
2025-05-21 22:22:32 -04:00
parent 400296f6de
commit a8963de571

View File

@ -2846,6 +2846,28 @@
"w": 332,
"h": 382
},
{
"id": "47549405aaedc6f1",
"type": "group",
"z": "ebd5561c4f077718",
"name": "Forecast Entity Testing",
"style": {
"label": true
},
"nodes": [
"de16ad92780444f2",
"2d06a77584e4e574",
"9e7ed6a540af8244",
"ff5f40842aabee0c",
"f8902210998462c9",
"a6ab36701f1cf2b1",
"f9a0ba239938c0d5"
],
"x": 794,
"y": 579,
"w": 812,
"h": 262
},
{
"id": "fba69dfc80829db7",
"type": "junction",
@ -33280,6 +33302,185 @@
[]
]
},
{
"id": "de16ad92780444f2",
"type": "inject",
"z": "ebd5561c4f077718",
"g": "47549405aaedc6f1",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 900,
"y": 620,
"wires": [
[
"2d06a77584e4e574",
"ff5f40842aabee0c"
]
]
},
{
"id": "2d06a77584e4e574",
"type": "api-current-state",
"z": "ebd5561c4f077718",
"g": "47549405aaedc6f1",
"name": "Forecast Sensor",
"server": "9e87348d.9c1c48",
"version": 3,
"outputs": 1,
"halt_if": "",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "sensor.weather_com_daily_weather_forecast",
"state_type": "str",
"blockInputOverrides": true,
"outputProperties": [
{
"property": "payload",
"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": 1080,
"y": 620,
"wires": [
[
"9e7ed6a540af8244",
"a6ab36701f1cf2b1"
]
]
},
{
"id": "9e7ed6a540af8244",
"type": "debug",
"z": "ebd5561c4f077718",
"g": "47549405aaedc6f1",
"name": "Forecast Sensor Debug",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 1330,
"y": 620,
"wires": []
},
{
"id": "ff5f40842aabee0c",
"type": "api-current-state",
"z": "ebd5561c4f077718",
"g": "47549405aaedc6f1",
"name": "Weather Entity",
"server": "9e87348d.9c1c48",
"version": 3,
"outputs": 1,
"halt_if": "",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "weather.iron_nerd_weather_station",
"state_type": "str",
"blockInputOverrides": true,
"outputProperties": [
{
"property": "payload",
"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": 1080,
"y": 740,
"wires": [
[
"f8902210998462c9",
"f9a0ba239938c0d5"
]
]
},
{
"id": "f8902210998462c9",
"type": "debug",
"z": "ebd5561c4f077718",
"g": "47549405aaedc6f1",
"name": "Weather Entity Debug",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 1320,
"y": 740,
"wires": []
},
{
"id": "a6ab36701f1cf2b1",
"type": "file",
"z": "ebd5561c4f077718",
"g": "47549405aaedc6f1",
"name": "",
"filename": "/homeassistant/files/weather_sensor_debug.json",
"filenameType": "str",
"appendNewline": true,
"createDir": false,
"overwriteFile": "false",
"encoding": "none",
"x": 1400,
"y": 680,
"wires": [
[]
]
},
{
"id": "f9a0ba239938c0d5",
"type": "file",
"z": "ebd5561c4f077718",
"g": "47549405aaedc6f1",
"name": "",
"filename": "/homeassistant/files/weather_entity_debug.json",
"filenameType": "str",
"appendNewline": true,
"createDir": false,
"overwriteFile": "false",
"encoding": "none",
"x": 1400,
"y": 800,
"wires": [
[]
]
},
{
"id": "1f7af146c06b8b85",
"type": "ha-select",