21.0.1 mapper coalesces omitted open_chimneys_count to 0 🟩

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-06-24 13:14:36 +00:00
parent 6efbd4649d
commit a01a940df2

View file

@ -2172,7 +2172,7 @@ class EpcPropertyDataMapper:
# to 0 like every other mapper (RdSAP "not lodged" → calc minimum 1).
wet_rooms_count=schema.wet_rooms_count or 0,
extensions_count=schema.extensions_count,
open_chimneys_count=schema.open_chimneys_count,
open_chimneys_count=schema.open_chimneys_count or 0,
insulated_door_count=schema.insulated_door_count,
draughtproofed_door_count=schema.draughtproofed_door_count,
# Mechanical ventilation PCDB plumbing — feeds the §5 Table 4f