Skip to content

Commit 8d7ae98

Browse files
committed
Fix AttributeError
1 parent e5c673b commit 8d7ae98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yeelib/discover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,5 @@ async def search_bulbs(bulb_class=Bulb, loop=None, kwargs=None):
131131
unicast_connection = loop.create_datagram_endpoint(
132132
lambda: YeelightProtocol(bulb_class, **kwargs), family=socket.AF_INET)
133133
ucast_transport, _ = await unicast_connection
134-
loop.Task(remove_missing_bulbs())
134+
asyncio.Task(remove_missing_bulbs())
135135
return bulbs

0 commit comments

Comments
 (0)