Skip to content

Commit

Permalink
Fix AttributeError
Browse files Browse the repository at this point in the history
  • Loading branch information
codingjoe committed Apr 7, 2019
1 parent e5c673b commit 8d7ae98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yeelib/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ async def search_bulbs(bulb_class=Bulb, loop=None, kwargs=None):
unicast_connection = loop.create_datagram_endpoint(
lambda: YeelightProtocol(bulb_class, **kwargs), family=socket.AF_INET)
ucast_transport, _ = await unicast_connection
loop.Task(remove_missing_bulbs())
asyncio.Task(remove_missing_bulbs())
return bulbs

0 comments on commit 8d7ae98

Please sign in to comment.