fix: rebuild hydronic circuits around correct inline pipework
This commit is contained in:
1 parent
59292517b7
commit
e62f987563
24 files changed
+844
-586
No files matched your search
@@ -228,7 +228,14 @@ def test_furniture_power_card() -> None:
|
||||
|
||||
def test_hydronic_circuits_buffer_probes_and_fresh_water_bindings() -> None:
|
||||
control = {"command": "cover.1", "feedback": "sensor.2", "inverted": True}
|
||||
circuit = {"id": "c1", "name": "Vorschub", "kind": "pump", "has_valve": False, "pump": control}
|
||||
circuit = {
|
||||
"id": "c1",
|
||||
"name": "Vorschub",
|
||||
"kind": "pump",
|
||||
"has_valve": False,
|
||||
"pump": control,
|
||||
"valve_type": "mixing",
|
||||
}
|
||||
hydronic = {
|
||||
"card": True,
|
||||
"circuits": [circuit],
|
||||
@@ -242,6 +249,7 @@ def test_hydronic_circuits_buffer_probes_and_fresh_water_bindings() -> None:
|
||||
assert FURNITURE_SCHEMA({**FURN, "type": "heating_manifold", "hydronic": hydronic})["hydronic"] == hydronic
|
||||
for bad in (
|
||||
{"circuits": [{**circuit, "kind": "guess_from_name"}]},
|
||||
{"circuits": [{**circuit, "valve_type": "unknown"}]},
|
||||
{"circuits": [circuit] * 33},
|
||||
{"sensors": [{"id": "s", "name": "Fühler", "entity": None, "level": 1.01}]},
|
||||
{"pump": {"command": 12345}},
|
||||
|
||||
Reference in new issue
Block a user