For some years I’ve had Google and Waze travel time set up using configuration.yaml.
It’s using device_tracker.my_iPhone as origin and sensor.dest_adress as destination.
Sensor.dest_adress changes depending if I’m at home or work etc.
After some update, I believe it was 2022.02 it stopped working and booth became “unavailable”
I see that the configuration was moved from yaml to UI.
I have tried to remove integration, also removing in configuration.yaml and try to add it again but I keep getting “unexpected error”.
Tried to restart etc numerous times.
I have also tried using fixed adress but still “unexpected error”
emphasized textLogger: aiohttp.server
Source: components/google_travel_time/helpers.py:15
First occurred: 10:58:59 AM (2 occurrences)
Last logged: 10:59:14 AM
Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py”, line 435, in _handle_request
resp = await request_handler(request)
File “/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py”, line 504, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py”, line 117, in impl
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/security_filter.py”, line 60, in security_filter_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/forwarded.py”, line 98, in forwarded_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/request_context.py”, line 28, in request_context_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 79, in ban_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 219, in auth_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 137, in handle
result = await result
File “/usr/src/homeassistant/homeassistant/components/config/config_entries.py”, line 164, in post
return await super().post(request, flow_id)
File “/usr/src/homeassistant/homeassistant/components/http/data_validator.py”, line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File “/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py”, line 111, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 252, in async_configure
result = await self._async_handle_step(flow, cur_step[“step_id”], user_input)
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 325, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File “/usr/src/homeassistant/homeassistant/components/google_travel_time/config_flow.py”, line 130, in async_step_user
if await self.hass.async_add_executor_job(
File “/usr/local/lib/python3.9/concurrent/futures/thread.py”, line 52, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/google_travel_time/helpers.py”, line 15, in is_valid_config_entry
distance_matrix(client, origin, destination, mode=“driving”)
File “/usr/local/lib/python3.9/site-packages/googlemaps/distance_matrix.py”, line 90, in distance_matrix
“destinations”: convert.location_list(destinations)
File “/usr/local/lib/python3.9/site-packages/googlemaps/convert.py”, line 128, in location_list
return “|”.join([latlng(location) for location in as_list(arg)])
File “/usr/local/lib/python3.9/site-packages/googlemaps/convert.py”, line 128, in
emphasized text