zacs / ha-gtfs-rt

Real-time transit information for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optional route configuration variable

t2889 opened this issue · comments

commented

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?

Interested as well.