diff --git a/homeassistant/components/cloud/backup.py b/homeassistant/components/cloud/backup.py index d21e28be50a4d4..57145e52c448cd 100644 --- a/homeassistant/components/cloud/backup.py +++ b/homeassistant/components/cloud/backup.py @@ -5,6 +5,7 @@ import base64 from collections.abc import AsyncIterator, Callable, Coroutine, Mapping import hashlib +import logging from typing import Any, Self from aiohttp import ClientError, ClientTimeout, StreamReader @@ -23,6 +24,7 @@ from .client import CloudClient from .const import DATA_CLOUD, DOMAIN, EVENT_CLOUD_EVENT +_LOGGER = logging.getLogger(__name__) _STORAGE_BACKUP = "backup" @@ -208,6 +210,7 @@ async def async_list_backups(self, **kwargs: Any) -> list[AgentBackup]: """List backups.""" try: backups = await async_files_list(self._cloud, storage_type=_STORAGE_BACKUP) + _LOGGER.debug("Cloud backups: %s", backups) except (ClientError, CloudError) as err: raise BackupAgentError("Failed to list backups") from err