Skip to content

Commit d2d63a8

Browse files
committed
Pass correct_model into name as well
1 parent 6acf014 commit d2d63a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugwise_usb/nodes/node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ async def update_node_details(
517517
) not in self._node_info.model.lower()
518518
):
519519
self._node_info.model = correct_model.capitalize()
520+
model_info[0] = self._node_info.model
520521

521522
# Handle + devices
522523
if len(model_info) > 1 and "+" in model_info[1]:

0 commit comments

Comments
 (0)