mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 04:19:03 +00:00
fix coro
This commit is contained in:
@@ -90,7 +90,7 @@ class HomeAssistant(JsonConfig):
|
|||||||
"""Install a landingpage."""
|
"""Install a landingpage."""
|
||||||
_LOGGER.info("Setup HomeAssistant landingpage")
|
_LOGGER.info("Setup HomeAssistant landingpage")
|
||||||
while True:
|
while True:
|
||||||
if self.docker.install('landingpage'):
|
if await self.docker.install('landingpage'):
|
||||||
break
|
break
|
||||||
_LOGGER.warning("Fails install landingpage, retry after 60sec")
|
_LOGGER.warning("Fails install landingpage, retry after 60sec")
|
||||||
await asyncio.sleep(60, loop=self.loop)
|
await asyncio.sleep(60, loop=self.loop)
|
||||||
|
|||||||
Reference in New Issue
Block a user