diff --git a/hassio/snapshots/__init__.py b/hassio/snapshots/__init__.py index 02aabe67f..0cd2171bb 100644 --- a/hassio/snapshots/__init__.py +++ b/hassio/snapshots/__init__.py @@ -294,7 +294,8 @@ class SnapshotManager(CoreSysAttributes): await self.lock.acquire() async with snapshot: - if FOLDER_HOMEASSISTANT in folders: + # Stop Home-Assistant if they will be restored later + if homeassistant and FOLDER_HOMEASSISTANT in folders: await self._homeassistant.stop() # Process folders