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