Skip to content

Commit 7ca04a4

Browse files
authored
Fix zigpy initialization not being run on reconnect (#162)
* Bump minimum zigpy version * Call `initialize` instead of `start_network`
1 parent 3ae1dff commit 7ca04a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ python_requires = >=3.7
1515
install_requires =
1616
pyserial-asyncio; platform_system!="Windows"
1717
pyserial-asyncio!=0.5; platform_system=="Windows" # 0.5 broke writes
18-
zigpy>=0.47.0
18+
zigpy>=0.50.0
1919
async_timeout
2020
voluptuous
2121
coloredlogs

zigpy_znp/zigbee/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ async def _reconnect(self) -> None:
884884

885885
try:
886886
await self.connect()
887-
await self.start_network()
887+
await self.initialize()
888888
return
889889
except asyncio.CancelledError:
890890
raise

0 commit comments

Comments
 (0)