Skip to content

Commit f86812c

Browse files
committed
Also block plus-device when reading from cache
1 parent aad2fb9 commit f86812c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/network/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def restore_cache(self) -> None:
5757
except ValueError:
5858
node_type = None
5959

60-
if node_type is None:
60+
if node_type in (None, NodeType.CIRCLE_PLUS):
6161
_LOGGER.warning(
6262
"Invalid NodeType in cache for mac %s: %s", mac, node_value
6363
)

0 commit comments

Comments
 (0)