HomeAssistant API token (#303)

* Add a uuid to home-assistant

* Add API_TOKEN to homeassistant

* Update homeassistant.py

* Update addon.py
This commit is contained in:
Pascal Vizeli
2018-01-10 18:14:32 +01:00
committed by GitHub
parent 50ae8e2335
commit 15a4541595
5 changed files with 14 additions and 5 deletions

View File

@@ -54,6 +54,7 @@ class DockerHomeAssistant(DockerInterface):
environment={
'HASSIO': self._docker.network.supervisor,
'TZ': self._config.timezone,
'HASSIO_TOKEN': self._homeassistant.uuid,
},
volumes={
str(self._config.path_extern_config):