If a property is EPC D or above, and is private, it is NOT eligible for ECO4 funding

This commit is contained in:
Khalim Conn-Kowlessar 2025-11-14 17:03:28 +00:00
parent 469a1483a5
commit e13cc52c96

View file

@ -808,6 +808,9 @@ def _find_measure(input_measures, measure_type):
def _make_solar_heating_funding_paths(
p, input_measures, funding_paths, remaining_insulation_type, housing_type, funding: Funding
):
# If a property is private and EPC D or above, it's not eligible
if housing_type == "Private" and p.data["current-energy-rating"] in ["D", "C", "B", "A"]:
return funding_paths
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Solar PV with existing eligible heating system
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~