mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Remove UTF8 decoding for Waze (#22020)
Removes the UFT8 decoding for the Waze sensor, which broke in 0.89 Fixes #21739
This commit is contained in:
parent
07022c46f2
commit
42c9472a74
@ -218,7 +218,6 @@ class WazeTravelTime(Entity):
|
|||||||
|
|
||||||
route = sorted(routes, key=(lambda key: routes[key][0]))[0]
|
route = sorted(routes, key=(lambda key: routes[key][0]))[0]
|
||||||
duration, distance = routes[route]
|
duration, distance = routes[route]
|
||||||
route = bytes(route, 'ISO-8859-1').decode('UTF-8')
|
|
||||||
self._state = {
|
self._state = {
|
||||||
'duration': duration,
|
'duration': duration,
|
||||||
'distance': distance,
|
'distance': distance,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user