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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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", "port": "port for access hass",
"ssl": "bool", "ssl": "bool",
"password": "", "password": "",
"refresh_token": "",
"watchdog": "bool", "watchdog": "bool",
"startup_time": 600 "startup_time": 600
} }

View File

@ -123,7 +123,7 @@ class APIHomeAssistant(CoreSysAttributes):
@api_process @api_process
def start(self, request): def start(self, request):
"""Start homeassistant.""" """Start homeassistant."""
asyncio.shield(self.sys_homeassistant.start()) return asyncio.shield(self.sys_homeassistant.start())
@api_process @api_process
def restart(self, request): def restart(self, request):