Update nextbus stop tag to accept strings (#27765)
This commit is contained in:
parent
a63e976496
commit
f8712b4d7f
2 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ class NextBusDepartureSensor(Entity):
|
|||
"""Update sensor with new departures times."""
|
||||
# Note: using Multi because there is a bug with the single stop impl
|
||||
results = self._client.get_predictions_for_multi_stops(
|
||||
[{"stop_tag": int(self.stop), "route_tag": self.route}], self.agency
|
||||
[{"stop_tag": self.stop, "route_tag": self.route}], self.agency
|
||||
)
|
||||
|
||||
self._log_debug("Predictions results: %s", results)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue