diff --git a/supervisor/backups/backup.py b/supervisor/backups/backup.py index 95320cd21..250636787 100644 --- a/supervisor/backups/backup.py +++ b/supervisor/backups/backup.py @@ -540,7 +540,7 @@ class Backup(CoreSysAttributes): _LOGGER.warning("Can't restore folder %s: %s", folder, err) async def store_homeassistant(self): - """Backup Home Assitant Core configuration folder.""" + """Backup Home Assistant Core configuration folder.""" self._data[ATTR_HOMEASSISTANT] = {ATTR_VERSION: self.sys_homeassistant.version} # Backup Home Assistant Core config directory @@ -557,7 +557,7 @@ class Backup(CoreSysAttributes): self.homeassistant[ATTR_SIZE] = homeassistant_file.size async def restore_homeassistant(self) -> Awaitable[None]: - """Restore Home Assitant Core configuration folder.""" + """Restore Home Assistant Core configuration folder.""" await self.sys_homeassistant.core.stop() # Restore Home Assistant Core config directory diff --git a/supervisor/coresys.py b/supervisor/coresys.py index 82c775040..62bb6e648 100644 --- a/supervisor/coresys.py +++ b/supervisor/coresys.py @@ -725,7 +725,7 @@ class CoreSysAttributes: def sys_run_in_executor( self, funct: Callable[..., T], *args: tuple[Any], **kwargs: dict[str, Any] ) -> Coroutine[Any, Any, T]: - """Add an job to the executor pool.""" + """Add a job to the executor pool.""" return self.coresys.run_in_executor(funct, *args, **kwargs) def sys_create_task(self, coroutine: Coroutine) -> asyncio.Task: