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 a3ed4d9 commit df02262Copy full SHA for df02262
plugwise_usb/network/cache.py
@@ -27,7 +27,7 @@ def nodetypes(self) -> dict[str, NodeType]:
27
async def save_cache(self) -> None:
28
"""Save the node information to file."""
29
cache_data_to_save: dict[str, str] = {
30
- mac: node_type.name for mac, node_type in self._nodetypes.items()
+ mac: node_type.name for mac, node_type in self._nodetypes.items() if node_type.value > 1
31
}
32
_LOGGER.debug("Save NodeTypes for %s Nodes", len(cache_data_to_save))
33
await self.write_cache(
0 commit comments