84 lines
2.3 KiB
JSON
84 lines
2.3 KiB
JSON
{
|
|
"id": "bedroom_window_night",
|
|
"category": "night",
|
|
"name": {
|
|
"pl": "Sypialnia: noc + zamknięte okno",
|
|
"en": "Bedroom: night + closed window"
|
|
},
|
|
"description": {
|
|
"pl": "Łączy tryb nocny z NOT otwartego okna, aby profil sleep działał tylko przy zamkniętym oknie.",
|
|
"en": "Combines night mode with NOT open-window logic so the sleep profile runs only with a closed window."
|
|
},
|
|
"flow": {
|
|
"nodes": [
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000148",
|
|
"kind": "night_mode",
|
|
"x": 35,
|
|
"y": 65,
|
|
"config": {}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000149",
|
|
"kind": "ha_state",
|
|
"x": 35,
|
|
"y": 185,
|
|
"config": {
|
|
"entity_id": "binary_sensor.bedroom_window",
|
|
"operator": "eq",
|
|
"value": "on"
|
|
}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000150",
|
|
"kind": "logic_not",
|
|
"x": 275,
|
|
"y": 185,
|
|
"config": {}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000151",
|
|
"kind": "logic_and",
|
|
"x": 500,
|
|
"y": 125,
|
|
"config": {}
|
|
},
|
|
{
|
|
"id": "node-00000000-0000-4000-8000-000000000152",
|
|
"kind": "zone_thermostat",
|
|
"x": 745,
|
|
"y": 125,
|
|
"config": {
|
|
"zone_id": "$zone1",
|
|
"preset": "sleep",
|
|
"setpoint": 20,
|
|
"mode": "auto",
|
|
"cooldown_seconds": 180
|
|
}
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000153",
|
|
"from": "node-00000000-0000-4000-8000-000000000149",
|
|
"to": "node-00000000-0000-4000-8000-000000000150"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000154",
|
|
"from": "node-00000000-0000-4000-8000-000000000148",
|
|
"to": "node-00000000-0000-4000-8000-000000000151"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000155",
|
|
"from": "node-00000000-0000-4000-8000-000000000150",
|
|
"to": "node-00000000-0000-4000-8000-000000000151"
|
|
},
|
|
{
|
|
"id": "edge-00000000-0000-4000-8000-000000000156",
|
|
"from": "node-00000000-0000-4000-8000-000000000151",
|
|
"to": "node-00000000-0000-4000-8000-000000000152"
|
|
}
|
|
]
|
|
}
|
|
}
|