From 7a81fbfa45b92f736ccc90ec5a62dd043375f23e Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Thu, 16 Jul 2026 15:57:39 +0000 Subject: [PATCH] =?UTF-8?q?Rate=20heat-network=20charging=20controls=20230?= =?UTF-8?q?6/2314/2313=20per=20Table=204e=20Group=203=20=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #1636: the 6 single-line-label fixtures unblock and re-block on later labels (MVHR/cylinder); the 6 line-wrap-truncated '…room thermostat and' fixtures still need the extractor fix tracked under #1622. Co-Authored-By: Claude Fable 5 --- datatypes/epc/domain/mapper.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/datatypes/epc/domain/mapper.py b/datatypes/epc/domain/mapper.py index 9458e337e..dccc610b0 100644 --- a/datatypes/epc/domain/mapper.py +++ b/datatypes/epc/domain/mapper.py @@ -7943,6 +7943,19 @@ _PASHUB_HEAT_NETWORK_CONTROL_TO_SAP10: Dict[str, int] = { "Charging system linked to use of community heating, room thermostat only": ( 2308 ), + # Linked-to-use (DHW 1.00) WITH TRVs — these two DO assert TRVs, so the + # with-TRVs type-3 codes are correct here (unlike the thermostat-only + # label above, where 2306 was the bug): "programmer and TRVs" → 2306, + # "room thermostat and TRVs" → 2314 (PCDB `heat_network_controls`). + "Charging system linked to use of community heating, programmer and TRVs": ( + 2306 + ), + "Charging system linked to use of community heating, room thermostat and TRVs": ( + 2314 + ), + # Flat-rate charging (DHW 1.05) with room thermostat + TRVs → 2313 + # (control type 2, space charging 1.05). + "Flat rate charging, room thermostat and TRVs": 2313, }