map pv connection 🟩

This commit is contained in:
Daniel Roth 2026-04-21 15:32:00 +00:00
parent 5bd4e22886
commit 44b6a6a0db

View file

@ -155,6 +155,16 @@ class EpcPropertyDataMapper:
is_dwelling_export_capable=general.dwelling_export_capable,
wind_turbines_terrain_type=general.terrain_type,
electricity_smart_meter_present=general.electricity_smart_meter,
pv_connection=renewables.pv_connection,
photovoltaic_supply=(
PhotovoltaicSupply(
none_or_no_details=PhotovoltaicSupplyNoneOrNoDetails(
percent_roof_area=renewables.percent_roof_covered_pv,
)
)
if renewables.percent_roof_covered_pv is not None
else None
),
),
sap_building_parts=sap_building_parts,
solar_water_heating=renewables.solar_hot_water,