Skip to content

Commit

Permalink
Add Deconz device before initializing. (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adminiuga authored Aug 20, 2019
1 parent e3d50ef commit e4c5484
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zigpy_deconz/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ async def new(cls, application, ieee, nwk):
ep.in_clusters = from_ep.in_clusters
ep.out_clusters = from_ep.out_clusters
else:
application.devices[ieee] = dev
await dev._initialize()

return dev

0 comments on commit e4c5484

Please sign in to comment.