Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
Fix for mode: publicTransportTimeTable
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Aug 7, 2019
1 parent 420ed75 commit d8ac192
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/here_travel_time/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions info.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand Down

0 comments on commit d8ac192

Please sign in to comment.