fixing cleaning descriptions

This commit is contained in:
Khalim Conn-Kowlessar 2024-09-24 18:41:18 +01:00
parent cf5f69d6f0
commit 3957f0fcf8
2 changed files with 6 additions and 0 deletions

View file

@ -144,6 +144,11 @@ class MainHeatAttributes(Definitions):
self.is_edge_case = True
return
if self.description == 'community, community':
self.edge_case_result['has_community_scheme'] = True
self.is_edge_case = True
return
def process(self) -> Dict[str, Union[str, bool]]:
result: Dict[str, Union[str, bool]] = {f'has_{ds.replace(" ", "_")}': False for ds in self.DISTRIBUTION_SYSTEMS}

View file

@ -76,6 +76,7 @@ class MainheatControlAttributes(Definitions):
"celect control": 'celect-type control',
"celect controls": 'celect-type control',
"trv's, program & flow switch": 'trvs, programmer & flow switch',
'appliance thermostat': 'appliance thermostats',
}
WELSH_TEXT = {