From 44b6a6a0db4fdc503d7db03244067a7318727ad0 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Tue, 21 Apr 2026 15:32:00 +0000 Subject: [PATCH] =?UTF-8?q?map=20pv=20connection=20=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- datatypes/epc/domain/mapper.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/datatypes/epc/domain/mapper.py b/datatypes/epc/domain/mapper.py index 8b3603b0..df48336f 100644 --- a/datatypes/epc/domain/mapper.py +++ b/datatypes/epc/domain/mapper.py @@ -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,