mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
map elmhurst energy fields to epc property data class 🟩
This commit is contained in:
parent
00821c5c23
commit
865ee3eada
1 changed files with 5 additions and 0 deletions
|
|
@ -268,6 +268,11 @@ class EpcPropertyDataMapper:
|
||||||
"None" if not survey.renewables.wwhrs_present else "Present"
|
"None" if not survey.renewables.wwhrs_present else "Present"
|
||||||
),
|
),
|
||||||
any_unheated_rooms=survey.heated_habitable_rooms < survey.habitable_rooms,
|
any_unheated_rooms=survey.heated_habitable_rooms < survey.habitable_rooms,
|
||||||
|
energy_rating_current=survey.current_sap_rating,
|
||||||
|
energy_rating_potential=survey.potential_sap_rating,
|
||||||
|
environmental_impact_current=survey.current_ei_rating,
|
||||||
|
environmental_impact_potential=survey.potential_ei_rating,
|
||||||
|
co2_emissions_current=survey.co2_emissions_current_t,
|
||||||
)
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue