mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 20:25:07 +02:00
pass stops_at to get_station_by_name (#11304)
This commit is contained in:
committed by
Fabian Affolter
parent
5d38eec37d
commit
2e582a4597
@@ -148,7 +148,8 @@ class IrishRailTransportData(object):
|
||||
"""Get the latest data from irishrail."""
|
||||
trains = self._ir_api.get_station_by_name(self.station,
|
||||
direction=self.direction,
|
||||
destination=self.destination)
|
||||
destination=self.destination,
|
||||
stops_at=self.stops_at)
|
||||
stops_at = self.stops_at if self.stops_at else ''
|
||||
self.info = []
|
||||
for train in trains:
|
||||
|
Reference in New Issue
Block a user