From f1f28ade0f1e1ecef9616a8cba798f43f6672271 Mon Sep 17 00:00:00 2001 From: Kevin Eifinger Date: Mon, 22 Jul 2019 10:08:06 +0200 Subject: [PATCH] fix _get_route_from_public_transport_line --- custom_components/here_travel_time/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/here_travel_time/sensor.py b/custom_components/here_travel_time/sensor.py index e96f2a4..d75e050 100644 --- a/custom_components/here_travel_time/sensor.py +++ b/custom_components/here_travel_time/sensor.py @@ -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