Fix implicit-return in yeelight (#122943)

This commit is contained in:
epenet
2024-08-08 11:33:49 +02:00
committed by GitHub
parent 8a8fac46e0
commit 02a404081a
+2 -1
View File
@@ -67,7 +67,8 @@ class YeelightScanner:
async def async_setup(self) -> None:
"""Set up the scanner."""
if self._setup_future is not None:
return await self._setup_future
await self._setup_future
return
self._setup_future = self._hass.loop.create_future()
connected_futures: list[asyncio.Future[None]] = []