77 lines
2.1 KiB
JSON
77 lines
2.1 KiB
JSON
{
|
|
"id": "presence_eco",
|
|
"category": "energy",
|
|
"name": {
|
|
"pl": "Obecność: komfort / eco",
|
|
"en": "Presence: comfort / eco"
|
|
},
|
|
"description": {
|
|
"pl": "Dwie jawne gałęzie Home Assistant: stan home włącza komfort, a not_home ustawia preset away. Ustaw właściwy entity_id osoby lub czujnika obecności.",
|
|
"en": "Two explicit Home Assistant branches: home enables comfort while not_home selects the away preset. Set the correct person or presence entity_id."
|
|
},
|
|
"flow": {
|
|
"nodes": [
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000048",
|
|
"kind": "ha_state",
|
|
"x": 45,
|
|
"y": 75,
|
|
"config": {
|
|
"entity_id": "person.someone",
|
|
"operator": "eq",
|
|
"value": "home"
|
|
}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000049",
|
|
"kind": "ha_state",
|
|
"x": 45,
|
|
"y": 245,
|
|
"config": {
|
|
"entity_id": "person.someone",
|
|
"operator": "eq",
|
|
"value": "not_home"
|
|
}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000050",
|
|
"kind": "zone_thermostat",
|
|
"x": 360,
|
|
"y": 65,
|
|
"config": {
|
|
"zone_id": "$zone1",
|
|
"preset": "comfort",
|
|
"setpoint": 21,
|
|
"mode": "auto",
|
|
"cooldown_seconds": 90
|
|
}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000051",
|
|
"kind": "zone_thermostat",
|
|
"x": 360,
|
|
"y": 245,
|
|
"config": {
|
|
"zone_id": "$zone1",
|
|
"preset": "away",
|
|
"setpoint": 18,
|
|
"mode": "auto",
|
|
"cooldown_seconds": 180
|
|
}
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000052",
|
|
"from": "node-00000000-0000-4000-8000-000000000048",
|
|
"to": "node-00000000-0000-4000-8000-000000000050"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000053",
|
|
"from": "node-00000000-0000-4000-8000-000000000049",
|
|
"to": "node-00000000-0000-4000-8000-000000000051"
|
|
}
|
|
]
|
|
}
|
|
}
|