From bf032d17d09d571ba1ef10804f6c23011993c666 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Fri, 3 Jul 2026 09:12:19 +0000 Subject: [PATCH] =?UTF-8?q?An=20electric=20room=20heaters=20override=20set?= =?UTF-8?q?s=20the=20room-heater=20heating=20category=20=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Category 10 (SAP Table 4a Room heaters) now overlaid for electric room heaters (691-701), so a replaced storage heater's category 7 no longer survives onto the effective cert and mis-bills via the Table 12a resolver. Co-Authored-By: Claude Opus 4.8 --- domain/epc/property_overlays/main_heating_system_overlay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain/epc/property_overlays/main_heating_system_overlay.py b/domain/epc/property_overlays/main_heating_system_overlay.py index 466466594..2e046dd90 100644 --- a/domain/epc/property_overlays/main_heating_system_overlay.py +++ b/domain/epc/property_overlays/main_heating_system_overlay.py @@ -280,7 +280,7 @@ def _category_for(code: int) -> Optional[int]: category 7); without it a storage override left a stale category behind, which the SAP 10.2 Table 12a resolver (keyed on category) could misread as a non-storage system and price the off-peak storage heating at the peak rate.""" - if code in _CATEGORY_10_ROOM_HEATER_CODES: + if code in _CATEGORY_10_ROOM_HEATER_CODES or code in _ELECTRIC_ROOM_HEATER_CODES: return _ROOM_HEATER_CATEGORY if code in _STORAGE_HEATER_CODES: return _STORAGE_HEATER_CATEGORY