extracy heating immersion type 🟥

This commit is contained in:
Daniel Roth 2026-04-21 15:07:18 +00:00
parent fc3742d84d
commit 691efcad72
2 changed files with 12 additions and 0 deletions

View file

@ -407,6 +407,17 @@ class TestWaterHeatingCylinderThickness:
assert hhw.water_heating.cylinder_size == "Normal (90-130 litres)"
class TestImmersionType:
@pytest.fixture
def hhw(self) -> HeatingAndHotWater:
return PasHubRdSapSiteNotesExtractor(
load_text_fixture_3()
).extract_heating_and_hot_water()
def test_immersion_type(self, hhw: HeatingAndHotWater) -> None:
assert hhw.water_heating.immersion_type == "Dual"
class TestCylinderThermostat:
@pytest.fixture
def hhw(self) -> HeatingAndHotWater:

View file

@ -191,6 +191,7 @@ class WaterHeating:
insulation_type: Optional[str] = None
insulation_thickness_mm: Optional[int] = None
has_thermostat: Optional[bool] = None
immersion_type: Optional[str] = None
@dataclass