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 48d875a commit e45fd22Copy full SHA for e45fd22
plugwise_usb/nodes/node.py
@@ -503,10 +503,9 @@ async def update_node_details(
503
hardware, model_info = version_to_model(hardware)
504
model_info = model_info.split(" ")
505
self._node_info.model = model_info[0]
506
- # Handle Stealth M+ correctly
507
- if model_info[1] == "M+":
508
- self._node_info.model = model_info[0:1]
509
- model_info[0] = model_info[0:1]
+ # Handle + devices
+ if "+" in model_info[1]:
+ self._node_info.model = model_info[0] = model_info[0:1]
510
model_info.pop[1]
511
512
self._node_info.version = hardware
0 commit comments