mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
hanling extension cwi
This commit is contained in:
parent
6600ad516c
commit
cb3f9c0252
1 changed files with 6 additions and 2 deletions
|
|
@ -476,7 +476,9 @@ class Recommendations:
|
||||||
impact_summary = []
|
impact_summary = []
|
||||||
for recommendations_by_type in property_recommendations:
|
for recommendations_by_type in property_recommendations:
|
||||||
for rec in recommendations_by_type:
|
for rec in recommendations_by_type:
|
||||||
if rec["type"] in ["mechanical_ventilation", "trickle_vents", "draught_proofing"]:
|
if rec["type"] in [
|
||||||
|
"mechanical_ventilation", "trickle_vents", "draught_proofing", "extension_cavity_wall_insulation"
|
||||||
|
]:
|
||||||
# We don't have a percieved sap impact of mechanical ventilation or trickle vents, and we don't
|
# We don't have a percieved sap impact of mechanical ventilation or trickle vents, and we don't
|
||||||
# have the capacity to score draught proofing
|
# have the capacity to score draught proofing
|
||||||
continue
|
continue
|
||||||
|
|
@ -757,7 +759,9 @@ class Recommendations:
|
||||||
# We now deduce if any of the recommendations result in a change of fuel type
|
# We now deduce if any of the recommendations result in a change of fuel type
|
||||||
for recs in property_recommendations:
|
for recs in property_recommendations:
|
||||||
for rec in recs:
|
for rec in recs:
|
||||||
if rec["type"] in ["mechanical_ventilation", "trickle_vents", "draught_proofing"]:
|
if rec["type"] in [
|
||||||
|
"mechanical_ventilation", "trickle_vents", "draught_proofing", "extension_cavity_wall_insulation"
|
||||||
|
]:
|
||||||
# We cannot score the impact on draught proofing
|
# We cannot score the impact on draught proofing
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue