mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-10-19 08:39:34 +00:00
Fix API for home-assistant (#588)
* Fix API for home-assistant * Update API.md
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user