mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-23 00:56:29 +00:00
fix coro
This commit is contained in:
parent
d978ec00aa
commit
a0a1fd4875
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user