HHRSH offered to solid-biomass dwelling with mains_gas=True despite off-gas heating fuel 🟩

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-07-01 09:42:32 +00:00
parent 0192dd8efd
commit 5a537df14b

View file

@ -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