mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-16 21:56:29 +00:00
Show landingpage soon as possible (#1480)
This commit is contained in:
parent
4f97bb9e0b
commit
8115d2b3d3
@ -243,10 +243,14 @@ class HomeAssistant(JsonConfig, CoreSysAttributes):
|
|||||||
_LOGGER.warning("Fails install landingpage, retry after 30sec")
|
_LOGGER.warning("Fails install landingpage, retry after 30sec")
|
||||||
await asyncio.sleep(30)
|
await asyncio.sleep(30)
|
||||||
else:
|
else:
|
||||||
break
|
|
||||||
|
|
||||||
self.version = self.instance.version
|
self.version = self.instance.version
|
||||||
self.save_data()
|
self.save_data()
|
||||||
|
break
|
||||||
|
|
||||||
|
# Start landingpage
|
||||||
|
_LOGGER.info("Start HomeAssistant landingpage")
|
||||||
|
with suppress(HomeAssistantError):
|
||||||
|
await self._start()
|
||||||
|
|
||||||
@process_lock
|
@process_lock
|
||||||
async def install(self) -> None:
|
async def install(self) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user