Debug log the update response in google_travel_time (#145725)

Debug log the update response
This commit is contained in:
Kevin Stillhammer
2025-05-27 17:44:48 +02:00
committed by GitHub
parent ae1294830c
commit a636e38d24

View File

@@ -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: