Skip to content

Commit 2881d4e

Browse files
authored
Update zdo_converters.py
As discussed here zigpy/zigpy#865 (reply in thread), see the PR.
1 parent 3fe9823 commit 2881d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zigpy_znp/zigbee/zdo_converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
DstAddrMode=addr.mode,
186186
Channels=NwkUpdate.ScanChannels,
187187
ScanDuration=NwkUpdate.ScanDuration,
188-
ScanCount=NwkUpdate.ScanCount,
188+
ScanCount=NwkUpdate.ScanCount or 0x00,
189189
# XXX: nwkUpdateId is hard-coded to `_NIB.nwkUpdateId + 1`
190190
NwkManagerAddr=NwkUpdate.nwkManagerAddr or 0x0000,
191191
)

0 commit comments

Comments
 (0)