diff --git a/README.md b/README.md index 1a5b701..d0f2d8a 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This repository contains custom components I developed for my own [Home-Assistan The Docker monitor allows you to monitor statistics and turn on/off containers. The monitor can connected to a daemon through the url parameter. When home assistant is used within a Docker container, the daemon can be mounted as follows `-v /var/run/docker.sock:/var/run/docker.sock`. The monitor is based on [Glances](https://github.com/nicolargo/glances) and [ha-dockermon](https://github.com/philhawthorne/ha-dockermon) and combines (in my opinion the best of both integrated in HA :)). -**Important note: as the loading path of platforms have been changed in issue [#20807](https://github.com/home-assistant/home-assistant/pull/20807), the current version is not compliant with HA versions 0.88 and above. This is currently been tested and will soon be released** +**Important note: as the loading path of platforms have been changed in issue [#20807](https://github.com/home-assistant/home-assistant/pull/20807), the current version requires HA versions 0.88 and above. For older versions, use version [0.0.1](https://github.com/Sanderhuisman/home-assistant-custom-components/releases/tag/0.0.1).** #### Events diff --git a/custom_updater.json b/custom_updater.json index 68d4006..a1b6b81 100644 --- a/custom_updater.json +++ b/custom_updater.json @@ -1,31 +1,31 @@ { "docker_monitor": { "updated_at": "2019-02-19", - "version": "0.0.1", - "local_location": "custom_components/docker_monitor.py", - "remote_location": "https://raw.githubusercontent.com/Sanderhuisman/home-assistant-custom-components/master/docker_monitor.py", + "version": "0.0.2", + "local_location": "custom_components/docker_monitor/__init__.py", + "remote_location": "https://raw.githubusercontent.com/Sanderhuisman/home-assistant-custom-components/master/docker_monitor/__init__.py", "changelog": "https://github.com/Sanderhuisman/home-assistant-custom-components/releases/latest", "visit_repo": "https://github.com/Sanderhuisman/home-assistant-custom-components" }, "docker_monitor.sensor": { "updated_at": "2019-02-19", - "version": "0.0.1", - "local_location": "custom_components/sensor/docker_monitor.py", - "remote_location": "https://raw.githubusercontent.com/Sanderhuisman/home-assistant-custom-components/master/sensor/docker_monitor.py", + "version": "0.0.2", + "local_location": "custom_components/docker_monitor/sensor.py", + "remote_location": "https://raw.githubusercontent.com/Sanderhuisman/home-assistant-custom-components/master/docker_monitor/sensor.py", "changelog": "https://github.com/Sanderhuisman/home-assistant-custom-components/releases/latest", "visit_repo": "https://github.com/Sanderhuisman/home-assistant-custom-components" }, "docker_monitor.switch": { "updated_at": "2019-02-19", - "version": "0.0.1", - "local_location": "custom_components/switch/docker_monitor.py", - "remote_location": "https://raw.githubusercontent.com/Sanderhuisman/home-assistant-custom-components/master/switch/docker_monitor.py", + "version": "0.0.2", + "local_location": "custom_components/docker_monitor/switch.py", + "remote_location": "https://raw.githubusercontent.com/Sanderhuisman/home-assistant-custom-components/master/docker_monitor/switch.py", "changelog": "https://github.com/Sanderhuisman/home-assistant-custom-components/releases/latest", "visit_repo": "https://github.com/Sanderhuisman/home-assistant-custom-components" }, "eetlijst.sensor": { "updated_at": "2019-02-19", - "version": "0.0.1", + "version": "0.0.2", "local_location": "custom_components/sensor/eetlijst.py", "remote_location": "https://raw.githubusercontent.com/Sanderhuisman/home-assistant-custom-components/master/sensor/eetlijst.py", "changelog": "https://github.com/Sanderhuisman/home-assistant-custom-components/releases/latest", @@ -33,7 +33,7 @@ }, "luftdaten.sensor": { "updated_at": "2019-02-19", - "version": "0.0.1", + "version": "0.0.2", "local_location": "custom_components/sensor/luftdaten_cu.py", "remote_location": "https://raw.githubusercontent.com/Sanderhuisman/home-assistant-custom-components/master/sensor/luftdaten_cu.py", "changelog": "https://github.com/Sanderhuisman/home-assistant-custom-components/releases/latest", diff --git a/docker_monitor.py b/docker_monitor/__init__.py similarity index 99% rename from docker_monitor.py rename to docker_monitor/__init__.py index 3c992a8..d372f27 100644 --- a/docker_monitor.py +++ b/docker_monitor/__init__.py @@ -23,7 +23,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import slugify as util_slugify -VERSION = '0.0.1' +VERSION = '0.0.2' REQUIREMENTS = ['docker==3.7.0', 'python-dateutil==2.7.5'] diff --git a/sensor/docker_monitor.py b/docker_monitor/sensor.py similarity index 99% rename from sensor/docker_monitor.py rename to docker_monitor/sensor.py index b6797d7..77f56b8 100644 --- a/sensor/docker_monitor.py +++ b/docker_monitor/sensor.py @@ -39,7 +39,7 @@ UTILISATION_MONITOR_VERSION ) -VERSION = '0.0.1' +VERSION = '0.0.2' DEPENDENCIES = ['docker_monitor'] diff --git a/switch/docker_monitor.py b/docker_monitor/switch.py similarity index 99% rename from switch/docker_monitor.py rename to docker_monitor/switch.py index 53e0fa2..200dc05 100644 --- a/switch/docker_monitor.py +++ b/docker_monitor/switch.py @@ -25,7 +25,7 @@ DOCKER_HANDLE ) -VERSION = '0.0.1' +VERSION = '0.0.2' DEPENDENCIES = ['docker_monitor'] diff --git a/sensor/eetlijst.py b/sensor/eetlijst.py index 1052c68..e67369f 100755 --- a/sensor/eetlijst.py +++ b/sensor/eetlijst.py @@ -23,7 +23,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -VERSION = '0.0.1' +VERSION = '0.0.2' REQUIREMENTS = ['beautifulsoup4==4.7.0'] diff --git a/sensor/luftdaten_cu.py b/sensor/luftdaten_cu.py index 7ed10c0..534b631 100755 --- a/sensor/luftdaten_cu.py +++ b/sensor/luftdaten_cu.py @@ -23,7 +23,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -VERSION = '0.0.1' +VERSION = '0.0.2' _LOGGER = logging.getLogger(__name__)