Skip to content

Commit 0c145a1

Browse files
committed
accept NodeInfoMessage for update_node_details
1 parent 38c7a04 commit 0c145a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ async def node_info_update(
10381038

10391039
# pylint: disable=too-many-arguments
10401040
async def update_node_details(
1041-
self, node_info: NodeInfoResponse | None = None
1041+
self, node_info: NodeInfoResponse | NodeInfoMessage | None = None
10421042
) -> bool:
10431043
"""Process new node info and return true if all fields are updated."""
10441044
if node_info is None:

0 commit comments

Comments
 (0)