File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -373,17 +373,6 @@ def _get_appl_actuator_modes(
373373
374374 return mode_list
375375
376- def _get_appliances_with_offset_functionality (self ) -> list [str ]:
377- """Helper-function collecting all appliance that have offset_functionality."""
378- therm_list : list [str ] = []
379- offset_appls = self ._domain_objects .findall (
380- './/actuator_functionalities/offset_functionality[type="temperature_offset"]/offset/../../..'
381- )
382- for item in offset_appls :
383- therm_list .append (item .get ("id" ))
384-
385- return therm_list
386-
387376 def _get_zone_data (self , loc_id : str , zone : GwEntityData ) -> None :
388377 """Helper-function for smile.py: _get_entity_data().
389378
Original file line number Diff line number Diff line change @@ -115,6 +115,17 @@ def get_all_gateway_entities(self) -> None:
115115 self ._get_groups ()
116116 self ._all_entity_data ()
117117
118+ def _get_appliances_with_offset_functionality (self ) -> list [str ]:
119+ """Helper-function collecting all appliance that have offset_functionality."""
120+ therm_list : list [str ] = []
121+ offset_appls = self ._domain_objects .findall (
122+ './/actuator_functionalities/offset_functionality[type="temperature_offset"]/offset/../../..'
123+ )
124+ for item in offset_appls :
125+ therm_list .append (item .get ("id" ))
126+
127+ return therm_list
128+
118129 async def async_update (self ) -> dict [str , GwEntityData ]:
119130 """Perform an full update: re-collect all gateway entities and their data and states.
120131
You can’t perform that action at this time.
0 commit comments