Skip to content

Commit a6a04e7

Browse files
committed
Fix
1 parent 37221ba commit a6a04e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def reboot(self) -> bool:
119119
async def connect(self) -> Version:
120120
"""Connect to the Plugwise Gateway and determine its name, type, version, and other data."""
121121
result = await self._request(DOMAIN_OBJECTS)
122-
result_dict = xmltodict.parse(result)
122+
result_dict = xmltodict.parse(DOMAIN_OBJECTS)
123123
LOGGER.debug("HOI result_dict: %s", result_dict)
124124
# Work-around for Stretch fw 2.7.18
125125
if not (vendor_names := result.findall("./module/vendor_name")):

0 commit comments

Comments
 (0)