Waze Travel Time error

+1 - EU Region

How do we elevate this issue?

Since it’s an integration in core you should issue an issue on Github…

Looks like it might be fixed in an update due tomorrow: https://github.com/home-assistant/core/pull/56718 :crossed_fingers:


Same here in EU

For me, issue is solved by today’s update of HA.

thx :wink:


Yep seems fixed for me too, thanks team!

What version of HA is this fixed in? I’m running core-2021.8.8 and it is broken after October 6th.

Fixed in 2021.10.1

You disabled automated polling of this entity?

I have again this problem in 2021.11.4 version…

I collected more info:

when I config component at firset time: all works fine!

thena, after an HA reboot, I have “no route found”

what it’s the problem?

Did you ever get this sorted out?

1 Like

I am experiencing the same probleme : the route is missing and the duration is much higher.
Why ?

Same Issue in with all regions…
Logs say:

Logger: aiohttp.server
Source: components/waze_travel_time/helpers.py:12
First occurred: 00:42:51 (6 occurrences)
Last logged: 00:55:05

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 220, 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/waze_travel_time/config_flow.py", line 108, 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/waze_travel_time/helpers.py", line 12, in is_valid_config_entry
    WazeRouteCalculator(origin, destination, region).calc_all_routes_info()
  File "/usr/local/lib/python3.9/site-packages/WazeRouteCalculator/WazeRouteCalculator.py", line 65, in __init__
    if self.already_coords(start_address):  # See if we have coordinates or address to resolve
  File "/usr/local/lib/python3.9/site-packages/WazeRouteCalculator/WazeRouteCalculator.py", line 79, in already_coords
    m = re.search(self.COORD_MATCH, address)
  File "/usr/local/lib/python3.9/re.py", line 201, in search
    return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object

Just a hint to all: for me it also. Didn’t work unless I did it with zones. So just setup the address as a zone and type in the sensor name (zone.yourzonename) and it should work perfectly

1 Like

This was the only thing that worked for me :+1:

1 Like

Same for me! In the end, the only thing that worked was zones. Origin: person.xxx, destination: zone.xxx

I made a passive zone just for this purpose.

i was just about to give up, you saved us all. Thanx

As someone who started HA 3 months ago with the only programming knowledge being a bit of self taught HTML, working my way through 50 video tutorials and 100 at times confusing github descriptions, it means a lot to me :heart: