mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
extract secondary heating system 🟩
This commit is contained in:
parent
1e0d72a805
commit
771c700643
1 changed files with 2 additions and 0 deletions
|
|
@ -570,8 +570,10 @@ class PasHubRdSapSiteNotesExtractor:
|
|||
)
|
||||
|
||||
def _parse_secondary_heating(self, data: List[str]) -> SecondaryHeating:
|
||||
system_raw = self._get_in(data, "Secondary System:")
|
||||
return SecondaryHeating(
|
||||
secondary_fuel=self._get_in(data, "Secondary Fuel") or "",
|
||||
secondary_system=system_raw if system_raw else None,
|
||||
)
|
||||
|
||||
def _parse_water_heating(self, data: List[str]) -> WaterHeating:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue