diff --git a/hassio_api/hassio/config.py b/hassio_api/hassio/config.py index cd42d5b4e..304a7587b 100644 --- a/hassio_api/hassio/config.py +++ b/hassio_api/hassio/config.py @@ -30,7 +30,7 @@ class CoreConfig(object): if not self._data: self._data.update({ HOMEASSISTANT_IMAGE: os.environ['HOMEASSISTANT_REPOSITORY'], - HOMEASSISTANT_TAG: '', + HOMEASSISTANT_TAG: None, }) def save(self): diff --git a/hassio_api/hassio/core.py b/hassio_api/hassio/core.py index 24d139c99..16a2c3873 100644 --- a/hassio_api/hassio/core.py +++ b/hassio_api/hassio/core.py @@ -65,7 +65,7 @@ class HassIO(object): self.config.homeassistant_tag = current[HOMEASSISTANT_TAG] else: - _LOGGER.info("HomeAssistant docker is exists.") + _LOGGER.info("HomeAssistant docker exists. Run it now") # run HomeAssistant await self.homeassistant.run() diff --git a/hassio_api/hassio/host_controll.py b/hassio_api/hassio/host_controll.py index 2624c609e..83dc24dfd 100644 --- a/hassio_api/hassio/host_controll.py +++ b/hassio_api/hassio/host_controll.py @@ -45,7 +45,7 @@ class HostControll(object): writer.write("{}\n".format(command).encode()) data = await reader.readline() - response = data.decode().upper() + response = data.decode() _LOGGER.info("Receive from HostControll: %s.", response) if response == "OK":