mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-14 04:36:31 +00:00
fix lint
This commit is contained in:
parent
10b3658bd7
commit
2ed3ddf05b
@ -1,5 +1,4 @@
|
||||
"""Init file for HassIO host rest api."""
|
||||
import asyncio
|
||||
import logging
|
||||
|
||||
import voluptuous as vol
|
||||
@ -61,11 +60,11 @@ class APIHost(CoreSysAttributes):
|
||||
@api_process
|
||||
def reload(self, request):
|
||||
"""Reload host data."""
|
||||
return self.sys_host.load()
|
||||
return self.sys_host.reload()
|
||||
|
||||
@api_process
|
||||
async def update(self, request):
|
||||
"""Update host OS."""
|
||||
pass
|
||||
#body = await api_validate(SCHEMA_VERSION, request)
|
||||
#version = body.get(ATTR_VERSION, self.sys_host.last_version)
|
||||
# body = await api_validate(SCHEMA_VERSION, request)
|
||||
# version = body.get(ATTR_VERSION, self.sys_host.last_version)
|
||||
|
Loading…
x
Reference in New Issue
Block a user