Skip to content

Commit

Permalink
Remove unnecessary _change_network_state from load_network_info
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Nov 13, 2023
1 parent f1dbb23 commit 3a496d0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions zigpy_deconz/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,6 @@ async def write_network_info(self, *, network_info, node_info):
await self._change_network_state(NetworkState.CONNECTED)

async def load_network_info(self, *, load_devices=False):
if self._api.firmware_version.platform == FirmwarePlatform.Conbee_III:
await self._change_network_state(NetworkState.CONNECTED)

network_info = self.state.network_info
node_info = self.state.node_info

Expand Down

0 comments on commit 3a496d0

Please sign in to comment.