We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ad8fed commit b638b31Copy full SHA for b638b31
plugwise_usb/nodes/node.py
@@ -500,14 +500,15 @@ async def update_node_details(
500
else:
501
if self._node_info.version != hardware:
502
# Generate modelname based on hardware version
503
- hardware, model_info = version_to_model(hardware).split(" ")
+ hardware, model_info = version_to_model(hardware)
504
+ model_info = model_info.split(" ")
505
self._node_info.model = model_info[0]
506
self._node_info.version = hardware
507
if self._node_info.model == "Unknown":
508
_LOGGER.warning(
509
"Failed to detect hardware model for %s based on '%s'",
510
self.mac,
- version,
511
+ hardware,
512
)
513
if len(model_info) > 1:
514
self._node_info.model_type = " ".join(model_info[1:])
0 commit comments