extract cylinder thermostat 🟥

This commit is contained in:
Daniel Roth 2026-04-21 15:16:49 +00:00
parent 6035c90bcb
commit 0e69f8e7a5
2 changed files with 16 additions and 0 deletions

View file

@ -574,6 +574,20 @@ class TestRenewables:
)
class TestRenewablesPvConnection:
@pytest.fixture
def renewables(self) -> Renewables:
return PasHubRdSapSiteNotesExtractor(
load_text_fixture_3()
).extract_renewables()
def test_pv_connection(self, renewables: Renewables) -> None:
assert renewables.pv_connection == "Connected to dwellings electricity meter"
def test_percent_roof_covered_pv(self, renewables: Renewables) -> None:
assert renewables.percent_roof_covered_pv == 45
class TestRoomCountElements:
@pytest.fixture
def rce(self) -> RoomCountElements:

View file

@ -229,6 +229,8 @@ class Renewables:
photovoltaic_array: bool
number_of_pv_batteries: int
hydro: bool
pv_connection: Optional[str] = None
percent_roof_covered_pv: Optional[int] = None
@dataclass