131 lines
3.6 KiB
JSON
131 lines
3.6 KiB
JSON
{
|
|
"id": "occupancy_weather_matrix",
|
|
"category": "advanced",
|
|
"name": {
|
|
"pl": "Obecność + pogoda + okno",
|
|
"en": "Occupancy + weather + window"
|
|
},
|
|
"description": {
|
|
"pl": "Komfort działa tylko gdy ktoś jest w domu, występuje zapotrzebowanie pogodowe lub pokojowe i okno nie jest otwarte.",
|
|
"en": "Comfort runs only when someone is home, outdoor or room demand exists, and the window is not open."
|
|
},
|
|
"flow": {
|
|
"nodes": [
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000297",
|
|
"kind": "ha_state",
|
|
"x": 25,
|
|
"y": 40,
|
|
"config": {
|
|
"entity_id": "person.someone",
|
|
"operator": "eq",
|
|
"value": "home"
|
|
}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000298",
|
|
"kind": "outdoor_temperature",
|
|
"x": 25,
|
|
"y": 155,
|
|
"config": {
|
|
"operator": "lt",
|
|
"value": 9
|
|
}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000299",
|
|
"kind": "zone_temperature",
|
|
"x": 25,
|
|
"y": 270,
|
|
"config": {
|
|
"zone_id": "$zone1",
|
|
"operator": "lt",
|
|
"value": 20
|
|
}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000300",
|
|
"kind": "logic_or",
|
|
"x": 275,
|
|
"y": 215,
|
|
"config": {}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000301",
|
|
"kind": "ha_state",
|
|
"x": 275,
|
|
"y": 345,
|
|
"config": {
|
|
"entity_id": "binary_sensor.window",
|
|
"operator": "eq",
|
|
"value": "on"
|
|
}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000302",
|
|
"kind": "logic_not",
|
|
"x": 495,
|
|
"y": 345,
|
|
"config": {}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000303",
|
|
"kind": "logic_and",
|
|
"x": 505,
|
|
"y": 150,
|
|
"config": {}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000304",
|
|
"kind": "zone_thermostat",
|
|
"x": 765,
|
|
"y": 150,
|
|
"config": {
|
|
"zone_id": "$zone1",
|
|
"preset": "comfort",
|
|
"setpoint": 21,
|
|
"mode": "auto",
|
|
"cooldown_seconds": 90
|
|
}
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000305",
|
|
"from": "node-00000000-0000-4000-8000-000000000298",
|
|
"to": "node-00000000-0000-4000-8000-000000000300"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000306",
|
|
"from": "node-00000000-0000-4000-8000-000000000299",
|
|
"to": "node-00000000-0000-4000-8000-000000000300"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000307",
|
|
"from": "node-00000000-0000-4000-8000-000000000301",
|
|
"to": "node-00000000-0000-4000-8000-000000000302"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000308",
|
|
"from": "node-00000000-0000-4000-8000-000000000297",
|
|
"to": "node-00000000-0000-4000-8000-000000000303"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000309",
|
|
"from": "node-00000000-0000-4000-8000-000000000300",
|
|
"to": "node-00000000-0000-4000-8000-000000000303"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000310",
|
|
"from": "node-00000000-0000-4000-8000-000000000302",
|
|
"to": "node-00000000-0000-4000-8000-000000000303"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000311",
|
|
"from": "node-00000000-0000-4000-8000-000000000303",
|
|
"to": "node-00000000-0000-4000-8000-000000000304"
|
|
}
|
|
]
|
|
}
|
|
}
|