diff --git a/custom_components/here_travel_time/sensor.py b/custom_components/here_travel_time/sensor.py index 0e9f00f..7404f57 100644 --- a/custom_components/here_travel_time/sensor.py +++ b/custom_components/here_travel_time/sensor.py @@ -330,7 +330,7 @@ def update(self): origin = self.origin.split(",") response = self._client.car_route( - origin, destination, [self.travel_mode, self.route_mode, traffic_mode] + origin, destination, [self.route_mode, self.travel_mode, traffic_mode] ) if isinstance(response, herepy.error.HEREError): # Better error message for cryptic no route error codes diff --git a/info.md b/info.md index 5b86516..b9503cf 100644 --- a/info.md +++ b/info.md @@ -21,6 +21,10 @@ {% endif %} ## Bugfixes + +{% if version_installed.replace("v", "").replace(".","") | int < 143 %} +- Fix for `mode: publicTransportTimeTable` returning `No timetable route found` +{% endif %} --- {% endif %}