1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 04:19:03 +00:00

Fix API for home-assistant (#588)

* Fix API for home-assistant

* Update API.md
This commit is contained in:
Pascal Vizeli
2018-07-22 00:42:45 +02:00
committed by GitHub
parent 70005296cc
commit 5db798bcf8
2 changed files with 2 additions and 1 deletions

1
API.md
View File

@@ -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
}

View File

@@ -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):