From 5db798bcf888198914689242742f160b989f12e4 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sun, 22 Jul 2018 00:42:45 +0200 Subject: [PATCH] Fix API for home-assistant (#588) * Fix API for home-assistant * Update API.md --- API.md | 1 + hassio/api/homeassistant.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/API.md b/API.md index f3a6c0935..f15e7b374 100644 --- a/API.md +++ b/API.md @@ -381,6 +381,7 @@ Output is the raw Docker log. "port": "port for access hass", "ssl": "bool", "password": "", + "refresh_token": "", "watchdog": "bool", "startup_time": 600 } diff --git a/hassio/api/homeassistant.py b/hassio/api/homeassistant.py index 0cda6dcdb..a86c8cf6d 100644 --- a/hassio/api/homeassistant.py +++ b/hassio/api/homeassistant.py @@ -123,7 +123,7 @@ class APIHomeAssistant(CoreSysAttributes): @api_process def start(self, request): """Start homeassistant.""" - asyncio.shield(self.sys_homeassistant.start()) + return asyncio.shield(self.sys_homeassistant.start()) @api_process def restart(self, request):