Add additional roborock debug logging (#139680)

This commit is contained in:
Allen Porter 2025-03-03 11:02:45 -08:00 committed by GitHub
parent 2c44043e6a
commit e47e151259
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: RoborockConfigEntry) ->
translation_key="no_user_agreement",
) from err
except RoborockException as err:
_LOGGER.debug("Failed to get Roborock home data: %s", err)
raise ConfigEntryNotReady(
"Failed to get Roborock home data",
translation_domain=DOMAIN,

View File

@ -179,6 +179,7 @@ class RoborockDataUpdateCoordinator(DataUpdateCoordinator[DeviceProp]):
# Get the rooms for that map id.
await self.set_current_map_rooms()
except RoborockException as ex:
_LOGGER.debug("Failed to update data: %s", ex)
raise UpdateFailed(ex) from ex
return self.roborock_device_info.props