mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
pass stops_at to get_station_by_name (#11304)
This commit is contained in:
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user