mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-23 09:06:29 +00:00
Change flow and start landingpage faster (#189)
* Change flow and start landingpage faster * run homeassistant after install * Update homeassistant.py
This commit is contained in:
parent
1f07d47fd6
commit
f39006be01
@ -109,6 +109,9 @@ class HomeAssistant(JsonConfig):
|
||||
_LOGGER.warning("Fails install landingpage, retry after 60sec")
|
||||
await asyncio.sleep(60, loop=self.loop)
|
||||
|
||||
# run landingpage after installation
|
||||
await self.docker.run()
|
||||
|
||||
async def install(self):
|
||||
"""Install a landingpage."""
|
||||
_LOGGER.info("Setup HomeAssistant")
|
||||
@ -123,8 +126,10 @@ class HomeAssistant(JsonConfig):
|
||||
_LOGGER.warning("Error on install HomeAssistant. Retry in 60sec")
|
||||
await asyncio.sleep(60, loop=self.loop)
|
||||
|
||||
# store version
|
||||
# finishing
|
||||
_LOGGER.info("HomeAssistant docker now installed")
|
||||
if self.boot:
|
||||
await self.docker.run()
|
||||
await self.docker.cleanup()
|
||||
|
||||
async def update(self, version=None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user