Skip to content

Commit 85cc747

Browse files
committed
Legacy _all_... -> _get_... line up
1 parent 39f6ecd commit 85cc747

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugwise/legacy/helper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ def item_count(self) -> int:
8383
"""Return the item-count."""
8484
return self._count
8585

86-
def _all_appliances(self) -> None:
86+
def _get_appliances(self) -> None:
8787
"""Collect all appliances with relevant info."""
8888
self._count = 0
89-
self._all_locations()
89+
self._get_locations()
9090

9191
self._create_legacy_gateway()
9292
# For legacy P1 collect the connected SmartMeter info
@@ -137,7 +137,7 @@ def _all_appliances(self) -> None:
137137
self._create_gw_entities(appl)
138138
self._reorder_devices()
139139

140-
def _all_locations(self) -> None:
140+
def _get_locations(self) -> None:
141141
"""Collect all locations."""
142142
loc = Munch()
143143

plugwise/legacy/smile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def get_all_gateway_entities(self) -> None:
8181
Collect and add switching- and/or pump-group entities.
8282
Finally, collect the data and states for each entity.
8383
"""
84-
self._all_appliances()
84+
self._get_appliances()
8585
self._get_groups()
8686
self._all_entity_data()
8787

0 commit comments

Comments
 (0)