From 5a537df14b693e0a3632322e0e06828ef9f199d1 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Wed, 1 Jul 2026 09:42:32 +0000 Subject: [PATCH] =?UTF-8?q?HHRSH=20offered=20to=20solid-biomass=20dwelling?= =?UTF-8?q?=20with=20mains=5Fgas=3DTrue=20despite=20off-gas=20heating=20fu?= =?UTF-8?q?el=20=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- domain/modelling/generators/heating_recommendation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain/modelling/generators/heating_recommendation.py b/domain/modelling/generators/heating_recommendation.py index 9eae0353e..3ba716d6a 100644 --- a/domain/modelling/generators/heating_recommendation.py +++ b/domain/modelling/generators/heating_recommendation.py @@ -722,6 +722,6 @@ def _hhr_storage_eligible(epc: EpcPropertyData) -> bool: return False if main.main_heating_category == _HEAT_PUMP_CATEGORY: return False - off_gas: bool = not epc.sap_energy_source.mains_gas + off_gas: bool = main.main_fuel_type not in _GAS_FUEL_CODES electric_main: bool = main.main_fuel_type == _ELECTRICITY_FUEL return electric_main or off_gas