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 e9772f5 commit 38c7a04Copy full SHA for 38c7a04
plugwise_usb/nodes/circle.py
@@ -1041,6 +1041,9 @@ async def update_node_details(
1041
self, node_info: NodeInfoResponse | None = None
1042
) -> bool:
1043
"""Process new node info and return true if all fields are updated."""
1044
+ if node_info is None:
1045
+ return False
1046
+
1047
if node_info.relay_state is not None:
1048
await self._relay_update_state(
1049
node_info.relay_state, timestamp=node_info.timestamp
0 commit comments