Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/test_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ async def test_write_network_info_restores_children(
assert [entry.nwk for entry in entries] == list(nwk_addresses.values())
# The backup carries no capability, so the device type is unknown
assert {entry.device_type for entry in entries} == {p.ChildDeviceType.UNKNOWN}
assert {entry.rx_on_when_idle for entry in entries} == {0}


async def test_permit_ncp(
Expand Down
2 changes: 1 addition & 1 deletion zigpy_ziggurat/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ async def _restore_children(self, network_info: zigpy.state.NetworkInfo) -> None
p.ChildEntry(
ieee=ieee,
nwk=network_info.nwk_addresses[ieee],
rx_on_when_idle=t.uint1_t(1),
rx_on_when_idle=t.uint1_t(0),
device_type=p.ChildDeviceType.UNKNOWN,
reserved=t.uint5_t(0),
)
Expand Down
Loading