The swiss_public_transport sensor currently accepts the following variables:
- from (string, required; The ID of the station of the start station)
- to (string, required; The ID of the station of the end station)
- name (string, optional, default: Next Departure; The name of the sensor)
The data comes from the Swiss public transport API that supports many more request parameters.
I would like suggest to add the following ones:
- direct (integer, optional, default: 0; If set to 1 only direct connections are allowed)
- via (string, optional; The ID of the station of the via station)
Thank you!