Skip to content

Commit 8ad9481

Browse files
committed
Rename _all_ to _get_
1 parent c9702bf commit 8ad9481

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

plugwise/helper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
OFF,
3131
P1_MEASUREMENTS,
3232
TEMP_CELSIUS,
33+
THERMO_MATCHING,
3334
THERMOSTAT_CLASSES,
3435
TOGGLES,
3536
UOM,
@@ -193,7 +194,7 @@ def _get_p1_smartmeter_info(self) -> None:
193194

194195
self._create_gw_entities(appl)
195196

196-
def _all_locations(self) -> None:
197+
def _get_locations(self) -> None:
197198
"""Collect all locations."""
198199
loc = Munch()
199200
locations = self._domain_objects.findall("./location")

plugwise/smile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def get_all_gateway_entities(self) -> None:
107107
Collect and add switching- and/or pump-group entities.
108108
Finally, collect the data and states for each entity.
109109
"""
110-
self._all_appliances()
110+
self._get_appliances()
111111
if self._is_thermostat:
112112
self.therms_with_offset_func = (
113113
self._get_appliances_with_offset_functionality()

0 commit comments

Comments
 (0)