Skip to content

Commit 45b57aa

Browse files
committed
Add missing await
1 parent 2a1e670 commit 45b57aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/network/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ async def unregister_node(self, node: PlugwiseNode) -> None:
272272
raise NodeError(f"No existing Node ({node.mac}) found to unregister")
273273

274274
# First reset the node, then remove it from the network.
275-
node.reset_node()
275+
await node.reset_node()
276276
request = NodeRemoveRequest(self._send_to_controller, self._mac_nc, node.mac)
277277
if (response := await request.send()) is None:
278278
raise NodeError(

0 commit comments

Comments
 (0)