From 34231b7ea99b0e0a72b3f31e2386a787e4cde9a8 Mon Sep 17 00:00:00 2001 From: Laurens <43173895+GreenGrassBlueOcean@users.noreply.github.com> Date: Fri, 16 Oct 2026 16:31:41 +0200 Subject: [PATCH] test(heating): align F461 season frame assertion with WHO 4 season contract --- README.md | 1 + scripts/sync_documentation.py | 1 + tests/test_f461_live_plant.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0edd554..49b9506 100755 --- a/README.md +++ b/README.md @@ -337,6 +337,7 @@ OWNd maintains an automated test suite with strict **100.0% line coverage** veri | [`OWNd/message/automation.py`](OWNd/message/automation.py) | **100%** | WHO 2: Automation and motorized shutter events and commands | | [`OWNd/message/base.py`](OWNd/message/base.py) | **100%** | Base message, signaling, and protocol dispatcher registries | | [`OWNd/message/cen.py`](OWNd/message/cen.py) | **100%** | WHO 15 & WHO 25: CEN, CEN+, and dry contact control events/commands | +| [`OWNd/message/door_entry.py`](OWNd/message/door_entry.py) | **100%** | WHO 6 & WHO 8: Door entry, lock, and video intercom events and commands | | [`OWNd/message/energy.py`](OWNd/message/energy.py) | **100%** | WHO 18: Energy management, power, and diagnostic pulse events/commands | | [`OWNd/message/gateway.py`](OWNd/message/gateway.py) | **100%** | WHO 13: Gateway management, clock/date configuration, and model telemetry | | [`OWNd/message/heating.py`](OWNd/message/heating.py) | **100%** | WHO 4: Thermoregulation, heating/cooling zone control, and temperature decoders | diff --git a/scripts/sync_documentation.py b/scripts/sync_documentation.py index 097dd9c..b127e9a 100644 --- a/scripts/sync_documentation.py +++ b/scripts/sync_documentation.py @@ -60,6 +60,7 @@ "OWNd/message/automation.py": "WHO 2: Automation and motorized shutter events and commands", "OWNd/message/base.py": "Base message, signaling, and protocol dispatcher registries", "OWNd/message/cen.py": "WHO 15 & WHO 25: CEN, CEN+, and dry contact control events/commands", + "OWNd/message/door_entry.py": "WHO 6 & WHO 8: Door entry, lock, and video intercom events and commands", "OWNd/message/energy.py": "WHO 18: Energy management, power, and diagnostic pulse events/commands", "OWNd/message/gateway.py": "WHO 13: Gateway management, clock/date configuration, and model telemetry", "OWNd/message/heating.py": "WHO 4: Thermoregulation, heating/cooling zone control, and temperature decoders", diff --git a/tests/test_f461_live_plant.py b/tests/test_f461_live_plant.py index 79745c3..6e1c1cf 100644 --- a/tests/test_f461_live_plant.py +++ b/tests/test_f461_live_plant.py @@ -211,7 +211,7 @@ def test_builders_used_by_myhome_match_frames_the_plant_accepted() -> None: def test_season_frames_and_area_zero_lights_parse_as_before() -> None: - assert OWNEvent.parse("*4*1*2##").mode == "heat" and OWNEvent.parse("*4*0*2##").mode == "cool" + assert OWNEvent.parse("*4*1*2##").season == "heating" and OWNEvent.parse("*4*0*2##").season == "conditioning" area0 = OWNEvent.parse("*1*1*00##") assert area0.is_area and area0.area == 0 point = OWNEvent.parse("*1*1*01##")