mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Debug log the update response in google_travel_time (#145725)
Debug log the update response
This commit is contained in:
parent
ae1294830c
commit
a636e38d24
@ -271,6 +271,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]
|
||||
except GoogleAPIError as ex:
|
||||
|
Loading…
x
Reference in New Issue
Block a user