21.0.1 mapper coalesces omitted led_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:19:10 +00:00
parent e906bbecf8
commit 40a079e464

View file

@ -2188,7 +2188,7 @@ class EpcPropertyDataMapper:
),
mechanical_vent_duct_type=schema.mechanical_vent_duct_type,
# Lighting
led_fixed_lighting_bulbs_count=schema.led_fixed_lighting_bulbs_count,
led_fixed_lighting_bulbs_count=schema.led_fixed_lighting_bulbs_count or 0,
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