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

Commit

Permalink
fix _get_route_from_public_transport_line
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Jul 22, 2019
1 parent ef51ee5 commit f1f28ad
Showing 1 changed file with 1 addition 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 @@ -348,7 +348,7 @@ def update(self):
elif self.travel_mode == TRAVEL_MODE_PUBLIC:
# Get Route for Public Transport
public_transport_line = route[0]['publicTransportLine']
self.route = self._get_route_from_publicTransportLine(
self.route = self._get_route_from_public_transport_line(
public_transport_line)
elif self.travel_mode == TRAVEL_MODE_PEDESTRIAN:
# Get Route for Pedestrian
Expand Down

0 comments on commit f1f28ad

Please sign in to comment.