76 lines
2.0 KiB
JSON
76 lines
2.0 KiB
JSON
{
|
|
"id": "energy_price_eco",
|
|
"category": "energy",
|
|
"name": {
|
|
"pl": "Droga energia + brak domowników",
|
|
"en": "Expensive energy + nobody home"
|
|
},
|
|
"description": {
|
|
"pl": "Przy wysokiej cenie energii i nieobecności przełącza wybraną strefę w oszczędny profil away.",
|
|
"en": "When energy is expensive and nobody is home, switches the selected zone to an economical away profile."
|
|
},
|
|
"flow": {
|
|
"nodes": [
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000054",
|
|
"kind": "ha_numeric",
|
|
"x": 40,
|
|
"y": 70,
|
|
"config": {
|
|
"entity_id": "sensor.energy_price",
|
|
"operator": "gt",
|
|
"value": 0.8
|
|
}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000055",
|
|
"kind": "ha_state",
|
|
"x": 40,
|
|
"y": 190,
|
|
"config": {
|
|
"entity_id": "person.someone",
|
|
"operator": "neq",
|
|
"value": "home"
|
|
}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000056",
|
|
"kind": "logic_and",
|
|
"x": 315,
|
|
"y": 130,
|
|
"config": {}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000057",
|
|
"kind": "zone_thermostat",
|
|
"x": 570,
|
|
"y": 130,
|
|
"config": {
|
|
"zone_id": "$zone1",
|
|
"preset": "away",
|
|
"setpoint": 18,
|
|
"mode": "auto",
|
|
"cooldown_seconds": 300
|
|
}
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000058",
|
|
"from": "node-00000000-0000-4000-8000-000000000054",
|
|
"to": "node-00000000-0000-4000-8000-000000000056"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000059",
|
|
"from": "node-00000000-0000-4000-8000-000000000055",
|
|
"to": "node-00000000-0000-4000-8000-000000000056"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000060",
|
|
"from": "node-00000000-0000-4000-8000-000000000056",
|
|
"to": "node-00000000-0000-4000-8000-000000000057"
|
|
}
|
|
]
|
|
}
|
|
}
|