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 cc9d586 commit 32be475Copy full SHA for 32be475
plugwise_usb/network/cache.py
@@ -71,7 +71,7 @@ async def restore_cache(self) -> None:
71
72
async def update_nodetype(self, mac: str, node_type: NodeType | None) -> None:
73
"""Save node information in cache."""
74
- if node_type is None:
+ if node_type in (None, NodeType.CIRCLE_PLUS):
75
return
76
if (current_node_type := self._nodetypes.get(mac)) is not None:
77
if current_node_type == node_type:
0 commit comments