home-assistant-ecosystem / python-opendata-transport

Python client for interacting with transport.opendata.ch
MIT License
11 stars 9 forks source link

Station board integration in Home Assistant? #14

Open lostcontrol opened 2 years ago

lostcontrol commented 2 years ago

Hi,

Sorry to open a ticket here but this is probably the place where I can easily reach the right people.

This integration looks cool but unfortunately in HA, you can only setup "connections". I would like to have the "stationboard" mode, where I can just setup the train station in my town and see all the next connections going out from there. Also it would be nice to be able to set the "transportations" parameter to restrict the transportation means.

Looking at the code, I see that OpendataTransportStationboard is already implemented (missing the "transportations" parameter though) but no integration of it in the HA plugin.

Could this be added? Thank you

lostcontrol commented 2 years ago

I started something here for transportations (for both connections and stationboard) and type (for stationboard only).