From b546365aaa86177c6e73cc18f299ab3c2eccbad4 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sat, 24 Mar 2018 22:05:01 +0100 Subject: [PATCH] Fix --- hassio/api/supervisor.py | 2 +- hassio/core.py | 2 +- hassio/tasks.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hassio/api/supervisor.py b/hassio/api/supervisor.py index 697d4d8bc..10d35701f 100644 --- a/hassio/api/supervisor.py +++ b/hassio/api/supervisor.py @@ -72,7 +72,7 @@ class APISupervisor(CoreSysAttributes): body = await api_validate(SCHEMA_OPTIONS, request) if ATTR_CHANNEL in body: - self._updater.mode = body[ATTR_CHANNEL] + self._updater.channel = body[ATTR_CHANNEL] if ATTR_TIMEZONE in body: self._config.timezone = body[ATTR_TIMEZONE] diff --git a/hassio/core.py b/hassio/core.py index 0054a6990..6acea8879 100644 --- a/hassio/core.py +++ b/hassio/core.py @@ -61,7 +61,7 @@ class HassIO(CoreSysAttributes): if await self._supervisor.update(): return else: - _LOGGER.info("Ignore Hass.io auto updates on dev mode") + _LOGGER.info("Ignore Hass.io auto updates on dev channel") # start api await self._api.start() diff --git a/hassio/tasks.py b/hassio/tasks.py index ff8e1d661..7e8ea6b08 100644 --- a/hassio/tasks.py +++ b/hassio/tasks.py @@ -79,7 +79,7 @@ class Tasks(CoreSysAttributes): # don't perform a update on beta/dev channel if self._dev: - _LOGGER.warning("Ignore Hass.io update on dev mode!") + _LOGGER.warning("Ignore Hass.io update on dev channel!") return _LOGGER.info("Found new Hass.io version")