Waze Travel Time error

Since three days ago my Waze entities have not been updating, and looking at the logs I see this error (occurrences are low as I restarted HA to try and resolve it):

Logger: homeassistant
Source: components/waze_travel_time/sensor.py:320 
First occurred: 16:16:29 (3 occurrences) 
Last logged: 16:16:29

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/waze_travel_time/sensor.py", line 238, in first_update
    await self.hass.async_add_executor_job(self.update)
  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/sensor.py", line 264, in update
    self._waze_data.update()
  File "/usr/src/homeassistant/homeassistant/components/waze_travel_time/sensor.py", line 320, in update
    routes = params.calc_all_routes_info(real_time=realtime)
  File "/usr/local/lib/python3.9/site-packages/WazeRouteCalculator/WazeRouteCalculator.py", line 203, in calc_all_routes_info
    results = {route['routeName']: self._add_up_route(route['results'], real_time=real_time, stop_at_bounds=stop_at_bounds) for route in routes}
  File "/usr/local/lib/python3.9/site-packages/WazeRouteCalculator/WazeRouteCalculator.py", line 203, in <dictcomp>
    results = {route['routeName']: self._add_up_route(route['results'], real_time=real_time, stop_at_bounds=stop_at_bounds) for route in routes}
TypeError: list indices must be integers or slices, not str

I added the integration via the UI (not sure you can do it in yaml anymore). It was working just fine until a few days ago. Using the EU region.

Can anyone help me with this? It is quite an important integration for me.

Thanks!

Same for me in EU

+1 in Canada.

Stopped working for me as well… using US region.

Same here…

EU-NL

+1 more in Canada

By the way, I deleted the integration and tried to add back the destinations…and the integration won’t add anything back (and yes, I’ve formatted the origin and destinations correctly).Screen Shot 2021-10-04 at 14.51.17

+1 Brazil. Error: unknown

Same for me, almost identical error message. US region

Same for me, EU region

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

2 Likes

Same here in EU

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

Confirmed
thx :wink:

E.

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