Model/domain/epc/property_overlays
Khalim Conn-Kowlessar e02e6a76e1 Preserve an existing more-off-peak cert meter under a heating overlay 🟩
A landlord heating override DESCRIBES the dwelling, so its assumed off-peak meter
(Dual/E7) is a coherent default — it must not downgrade a cert that already
lodges a more-off-peak meter (e.g. property 709874's 24-hour all-low tariff). The
overlay opts in via keep_existing_off_peak_meter; _fold_heating then keeps the
cert's meter when both it and the desired meter are off-peak. Heating MEASURES
build HeatingOverlay directly and leave the flag False, so they still re-meter
for real (Elmhurst re-lodges 18-hour -> Dual on a storage install) — the cascade
pins stay green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 20:32:31 +00:00
..
__init__.py move overlas to its own thing 2026-06-18 10:04:14 +00:00
attribute_overlay.py move overlas to its own thing 2026-06-18 10:04:14 +00:00
construction_age_band_overlay.py Resolve a landlord age-band override onto the main building part 🟩 2026-06-19 13:41:35 +00:00
glazing_overlay.py Decode single/double/triple glazing overrides to SAP codes 🟩 2026-06-19 13:19:44 +00:00
main_fuel_overlay.py fix(overlay): synthesise a coherent gas-boiler heating system on Landlord Override 2026-06-26 12:48:33 +00:00
main_heating_system_overlay.py Preserve an existing more-off-peak cert meter under a heating overlay 🟩 2026-06-29 20:32:31 +00:00
roof_type_overlay.py landlord override data added 2026-06-20 12:57:54 +00:00
wall_type_overlay.py Stop a System-built landlord override being mis-read as a basement 🟩 2026-06-29 19:37:11 +00:00
water_heating_overlay.py Decode from-main oil/LPG/coal and gas boiler-circulator water heating 🟩 2026-06-19 14:20:24 +00:00