Update interface, allow update every time

This commit is contained in:
pvizeli
2017-07-11 16:57:03 +02:00
parent e5fc6846e0
commit 5ebf2068b2
2 changed files with 26 additions and 8 deletions

View File

@@ -67,9 +67,6 @@ class APIHomeAssistant(object):
if self.homeassistant.in_progress:
raise RuntimeError("Other task is in progress")
if version == self.homeassistant.version:
raise RuntimeError("Version is already in use")
return await asyncio.shield(
self.homeassistant.update(version), loop=self.loop)