Skip to content

Commit

Permalink
Fix zigpy initialization not being run on reconnect (#162)
Browse files Browse the repository at this point in the history
* Bump minimum zigpy version

* Call `initialize` instead of `start_network`
  • Loading branch information
puddly authored Aug 20, 2022
1 parent 3ae1dff commit 7ca04a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ python_requires = >=3.7
install_requires =
pyserial-asyncio; platform_system!="Windows"
pyserial-asyncio!=0.5; platform_system=="Windows" # 0.5 broke writes
zigpy>=0.47.0
zigpy>=0.50.0
async_timeout
voluptuous
coloredlogs
Expand Down
2 changes: 1 addition & 1 deletion zigpy_znp/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ async def _reconnect(self) -> None:

try:
await self.connect()
await self.start_network()
await self.initialize()
return
except asyncio.CancelledError:
raise
Expand Down

0 comments on commit 7ca04a4

Please sign in to comment.