Skip to content

Commit 2ee7416

Browse files
committed
Improve function-name
1 parent f327c74 commit 2ee7416

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugwise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def get_all_devices(self) -> None:
130130
)
131131

132132
# Collect switching- or pump-group data
133-
if group_data := self._group_switches():
133+
if group_data := self._get_group_switches():
134134
self.gw_devices.update(group_data)
135135

136136
# Collect the remaining data for all device

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ def _thermostat_uri(self, loc_id: str) -> str:
11841184

11851185
return f"{LOCATIONS};id={loc_id}/thermostat;id={thermostat_functionality_id}"
11861186

1187-
def _group_switches(self) -> dict[str, DeviceData]:
1187+
def _get_group_switches(self) -> dict[str, DeviceData]:
11881188
"""Helper-function for smile.py: get_all_devices().
11891189
11901190
Collect switching- or pump-group info.

0 commit comments

Comments
 (0)