Skip to content

Commit 229e7a1

Browse files
committed
Delete the node-cache of the deleted Node
1 parent 248af64 commit 229e7a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugwise_usb/network/registry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ async def unregister_node(self, node: PlugwiseNode) -> None:
286286
)
287287

288288
await self.remove_network_registration(node.mac)
289+
await node.clear_cache()
289290

290291
async def clear_register_cache(self) -> None:
291292
"""Clear current cache."""

0 commit comments

Comments
 (0)