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 9f2479e commit 4571512Copy full SHA for 4571512
plugwise_usb/network/cache.py
@@ -69,6 +69,6 @@ async def update_nodetypes(self, mac: str, node_type: NodeType | None) -> None:
69
self._nodetypes[mac] = node_type
70
await self.save_cache()
71
72
- def get_nodetype(self, mac: str) -> NodeType:
+ def get_nodetype(self, mac: str) -> NodeType | None:
73
"""Return NodeType from cache."""
74
return self._nodetypes.get(mac)
0 commit comments