21.0.1 mapper coalesces omitted cfl_fixed_lighting_bulbs_count to 0 🟩

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-06-24 13:16:29 +00:00
parent d36fa2b5cd
commit 71269637ef

View file

@ -2189,7 +2189,7 @@ class EpcPropertyDataMapper:
mechanical_vent_duct_type=schema.mechanical_vent_duct_type,
# Lighting
led_fixed_lighting_bulbs_count=schema.led_fixed_lighting_bulbs_count,
cfl_fixed_lighting_bulbs_count=schema.cfl_fixed_lighting_bulbs_count,
cfl_fixed_lighting_bulbs_count=schema.cfl_fixed_lighting_bulbs_count or 0,
incandescent_fixed_lighting_bulbs_count=schema.incandescent_fixed_lighting_bulbs_count,
# Energy elements
roofs=EpcPropertyDataMapper._map_energy_elements(schema.roofs),