mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add additional roborock debug logging (#139680)
This commit is contained in:
parent
2c44043e6a
commit
e47e151259
@ -65,6 +65,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: RoborockConfigEntry) ->
|
|||||||
translation_key="no_user_agreement",
|
translation_key="no_user_agreement",
|
||||||
) from err
|
) from err
|
||||||
except RoborockException as err:
|
except RoborockException as err:
|
||||||
|
_LOGGER.debug("Failed to get Roborock home data: %s", err)
|
||||||
raise ConfigEntryNotReady(
|
raise ConfigEntryNotReady(
|
||||||
"Failed to get Roborock home data",
|
"Failed to get Roborock home data",
|
||||||
translation_domain=DOMAIN,
|
translation_domain=DOMAIN,
|
||||||
|
@ -179,6 +179,7 @@ class RoborockDataUpdateCoordinator(DataUpdateCoordinator[DeviceProp]):
|
|||||||
# Get the rooms for that map id.
|
# Get the rooms for that map id.
|
||||||
await self.set_current_map_rooms()
|
await self.set_current_map_rooms()
|
||||||
except RoborockException as ex:
|
except RoborockException as ex:
|
||||||
|
_LOGGER.debug("Failed to update data: %s", ex)
|
||||||
raise UpdateFailed(ex) from ex
|
raise UpdateFailed(ex) from ex
|
||||||
return self.roborock_device_info.props
|
return self.roborock_device_info.props
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user