Skip to content
Snippets Groups Projects
Commit 0bdfe148 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Fix pyright

parent 93e3f25d
Branches
No related tags found
No related merge requests found
......@@ -53,7 +53,8 @@ class GW:
logger.warning(f"{node.node_id} {node.device_config.manufacturer}/{node.device_config.label} ")
for k in node.values:
value = node.values.get(k)
print(f"{k} {value.property_name} => {value.value}")
if value:
print(f"{k} {value.property_name} => {value.value}")
# pprint(node.data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment