diff --git a/hassio/docker/homeassistant.py b/hassio/docker/homeassistant.py index a8f86eeef..29c196628 100644 --- a/hassio/docker/homeassistant.py +++ b/hassio/docker/homeassistant.py @@ -35,6 +35,11 @@ class DockerHomeAssistant(DockerInterface): """Return name of Docker container.""" return HASS_DOCKER_NAME + @property + def timeout(self) -> str: + """Return timeout for Docker actions.""" + return 60 + @property def devices(self): """Create list of special device to map into Docker.""" diff --git a/hassio/snapshots/__init__.py b/hassio/snapshots/__init__.py index 10ad40385..a46fe1351 100644 --- a/hassio/snapshots/__init__.py +++ b/hassio/snapshots/__init__.py @@ -240,7 +240,7 @@ class SnapshotManager(CoreSysAttributes): # Delete delta add-ons tasks.clear() - for addon in self.sys_addons.list_installed: + for addon in self.sys_addons.installed: if addon.slug not in snapshot.addon_list: tasks.append(addon.uninstall()) diff --git a/hassio/tasks.py b/hassio/tasks.py index 58f330617..e8f7f53b3 100644 --- a/hassio/tasks.py +++ b/hassio/tasks.py @@ -89,7 +89,7 @@ class Tasks(CoreSysAttributes): async def _update_addons(self): """Check if an update is available for an Add-on and update it.""" tasks = [] - for addon in self.sys_addons.list_addons: + for addon in self.sys_addons.all: if not addon.is_installed or not addon.auto_update: continue