We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1b30a0 commit c39d635Copy full SHA for c39d635
hassio/api/homeassistant.py
@@ -63,7 +63,7 @@ async def options(self, request):
63
async def update(self, request):
64
"""Update homeassistant."""
65
body = await api_validate(SCHEMA_VERSION, request)
66
- version = body.get(ATTR_VERSION, self.homeassistant.last_homeassistant)
+ version = body.get(ATTR_VERSION, self.homeassistant.last_version)
67
68
if version == self.homeassistant.version:
69
raise RuntimeError("Version {} is already in use".format(version))
0 commit comments