zacs / ha-gtfs-rt

Real-time transit information for Home Assistant
MIT License
69 stars 30 forks source link

Optional route configuration variable #3

Open t2889 opened 3 years ago

t2889 commented 3 years ago

Thanks for developing this component.

I'm trying to retrieve the next departure for a stop, regardless of route. This is for a train station served by 6 routes. At the moment I have to create 6 sensors (1 per route) in the destination list, and create a template sensor in HA to determine the next departure.

Would it be possible to make the route configuration variable optional? Or alternatively, allow a single destination to accept an array of routes?

cinghialino commented 3 years ago

Interested as well.