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 Bram Kragten
parent 8880ab6498
commit 41a140d16c

View File

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