Skip to content

Commit f77410b

Browse files
committed
Fix typo, clean up debugging
1 parent 1ae858a commit f77410b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

plugwise/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _get_groups(self) -> None:
206206
members: list[str] = []
207207
group_id = group.attrib["id"]
208208
self._new_groups.append(group_id)
209-
if group_id in self._existing_appliances:
209+
if group_id in self._existing_groups:
210210
continue
211211

212212
group_name = group.find("name").text

plugwise/helper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,8 @@ def _get_appliances(self) -> bool:
163163
removed = list(set(self._existing_appliances) - set(self._new_appliances))
164164
if self._existing_appliances:
165165
if not removed:
166-
LOGGER.debug("HOI no new or removed appliance(s).")
167166
return False
168167
else:
169-
LOGGER.debug("HOI removed appliance(s): %s", removed)
170168
for appliance in removed:
171169
self.gw_entities.pop(appliance)
172170
return False

0 commit comments

Comments
 (0)