Skip to content

Commit 7118d83

Browse files
committed
Correctly rebase / rename model
1 parent 7d62499 commit 7118d83

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
@@ -429,7 +429,7 @@ async def _smile_detect_legacy(
429429
elif dsmrmain is not None:
430430
self._status = await self._request(STATUS)
431431
self.smile_fw_version = self._status.find("./system/version").text
432-
model = self._status.find("./system/product").text
432+
return_model = self._status.find("./system/product").text
433433
self.smile_hostname = self._status.find("./network/hostname").text
434434
self.smile_mac_address = self._status.find("./network/mac_address").text
435435
else: # pragma: no cover

0 commit comments

Comments
 (0)