From 4fcb516c75faa2a73957296813bc7ae6a39cfc83 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 6 Jul 2018 01:38:18 +0200 Subject: [PATCH 1/2] Bump version to 115 --- hassio/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/const.py b/hassio/const.py index 8fd991181..fb51c190d 100644 --- a/hassio/const.py +++ b/hassio/const.py @@ -2,7 +2,7 @@ from pathlib import Path from ipaddress import ip_network -HASSIO_VERSION = '114' +HASSIO_VERSION = '115' URL_HASSIO_ADDONS = "https://github.com/home-assistant/hassio-addons" URL_HASSIO_VERSION = \ From a71ebba940621392ce2b1eb497c749e9d4f28206 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 6 Jul 2018 13:08:57 +0200 Subject: [PATCH 2/2] Bugfix rollback if the hass instant is complete corrupt (#558) --- hassio/homeassistant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/homeassistant.py b/hassio/homeassistant.py index 7a9b4b768..bb2ea661c 100644 --- a/hassio/homeassistant.py +++ b/hassio/homeassistant.py @@ -213,7 +213,7 @@ class HomeAssistant(JsonConfig, CoreSysAttributes): async def update(self, version=None): """Update HomeAssistant version.""" version = version or self.last_version - rollback = self.version + rollback = self.version if not self.error_state else None running = await self.instance.is_running() exists = await self.instance.exists()