mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-16 05:36: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")
|
||||
await asyncio.sleep(30)
|
||||
else:
|
||||
self.version = self.instance.version
|
||||
self.save_data()
|
||||
break
|
||||
|
||||
self.version = self.instance.version
|
||||
self.save_data()
|
||||
# Start landingpage
|
||||
_LOGGER.info("Start HomeAssistant landingpage")
|
||||
with suppress(HomeAssistantError):
|
||||
await self._start()
|
||||
|
||||
@process_lock
|
||||
async def install(self) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user