Skip to content

Commit dd61b11

Browse files
committed
Make node descriptor optional in ZDO.NodeDescRsp
zigpy/zigpy#865 (comment)
1 parent df3ffc6 commit dd61b11

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

zigpy_znp/commands/zdo.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,12 @@ class ZDO(t.CommandsBase, subsystem=t.Subsystem.ZDO):
982982
"This field indicates either SUCCESS or FAILURE.",
983983
),
984984
t.Param("NWK", t.NWK, "Device's short address of this Node descriptor"),
985-
t.Param("NodeDescriptor", NullableNodeDescriptor, "Node descriptor"),
985+
t.Param(
986+
"NodeDescriptor",
987+
NullableNodeDescriptor,
988+
"Node descriptor",
989+
optional=True,
990+
),
986991
),
987992
)
988993

0 commit comments

Comments
 (0)