mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Debug log the update response in google_travel_time (#145725)
Debug log the update response
This commit is contained in:
parent
8880ab6498
commit
41a140d16c
@ -275,6 +275,7 @@ class GoogleTravelTimeSensor(SensorEntity):
|
||||
response = await self._client.compute_routes(
|
||||
request, metadata=[("x-goog-fieldmask", FIELD_MASK)]
|
||||
)
|
||||
_LOGGER.debug("Received response: %s", response)
|
||||
if response is not None and len(response.routes) > 0:
|
||||
self._route = response.routes[0]
|
||||
delete_routes_api_disabled_issue(self.hass, self._config_entry)
|
||||
|
Loading…
x
Reference in New Issue
Block a user