Fix version conflict

This commit is contained in:
Pascal Vizeli 2017-09-17 14:40:20 +02:00
commit 4b308d0de1
3 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,7 @@
from pathlib import Path
from ipaddress import ip_network
HASSIO_VERSION = '0.62'
HASSIO_VERSION = '0.63'
URL_HASSIO_VERSION = ('https://raw.githubusercontent.com/home-assistant/'
'hassio/{}/version.json')

View File

@ -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):

View File

@ -1,5 +1,5 @@
{
"hassio": "0.62",
"hassio": "0.63",
"homeassistant": "0.53.1",
"resinos": "1.0",
"resinhup": "0.3",