From 857f346b359c4b17c3579855ea1c58f0aedae144 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sat, 29 Jul 2017 00:11:06 +0200 Subject: [PATCH 1/5] Pump version to 0.50 --- hassio/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/const.py b/hassio/const.py index 736c6e8ec..05e9bb069 100644 --- a/hassio/const.py +++ b/hassio/const.py @@ -1,7 +1,7 @@ """Const file for HassIO.""" from pathlib import Path -HASSIO_VERSION = '0.49' +HASSIO_VERSION = '0.50' URL_HASSIO_VERSION = ('https://raw.githubusercontent.com/home-assistant/' 'hassio/master/version.json') From 630137a5769c0b6e8aae18a0e1da07c28ba7cb40 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sun, 30 Jul 2017 00:06:43 +0200 Subject: [PATCH 2/5] Fix wrong list (#119) --- hassio/hardware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/hardware.py b/hassio/hardware.py index fd0ac6c00..f1af78626 100644 --- a/hassio/hardware.py +++ b/hassio/hardware.py @@ -48,7 +48,7 @@ class Hardware(object): """Return all disk devices.""" dev_list = set() for device in self.context.list_devices(subsystem='block'): - if 'ID_VENDOR' in device: + if device.device_node.startswith('/dev/sd'): dev_list.add(device.device_node) return list(dev_list) From fc959330980a30c12a2319cf44ca3483bad4bb84 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sun, 30 Jul 2017 02:35:27 +0200 Subject: [PATCH 3/5] Update Home-Assistant to version 0.50 --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index 95f2f3e99..c087b57ae 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "hassio": "0.49", - "homeassistant": "0.49.1", + "homeassistant": "0.50", "resinos": "1.0", "resinhup": "0.3", "generic": "0.3", From 8d094d5c70ac43973a8af7559be02bd882b0d5c9 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 31 Jul 2017 11:41:08 +0200 Subject: [PATCH 4/5] Fix wrong addon config break supervisor (#123) --- hassio/addons/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/addons/data.py b/hassio/addons/data.py index 7d8e00e79..871143781 100644 --- a/hassio/addons/data.py +++ b/hassio/addons/data.py @@ -118,7 +118,7 @@ class Data(JsonConfig): addon_config[ATTR_LOCATON] = str(addon.parent) self._cache[addon_slug] = addon_config - except OSError: + except (OSError, json.JSONDecodeError): _LOGGER.warning("Can't read %s", addon) except vol.Invalid as ex: From d06696cd94b372c29a34ea598a1bf685fbf519ac Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 31 Jul 2017 11:44:02 +0200 Subject: [PATCH 5/5] Update Hass.io to version 0.50 --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index c087b57ae..2446cb76b 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "hassio": "0.49", + "hassio": "0.50", "homeassistant": "0.50", "resinos": "1.0", "resinhup": "0.3",