Skip to content

powerdesk/swiss-public-transport-mod

 
 

Repository files navigation

hacs_badge

swiss-public-transport-mod

Based on @agners lovelace card:

Extends the swiss_public_transport sensor by a few features required to visualize a proper stationboard:

  • stationboard property
  • limit property

@agners implementation depends upon a pull-request which was never merged. To simplify the installation of this sensor, I created two HACS repositories (this one and one for the lovelace-card).

Information

Note: You can use the data of this sensor on its own or use the custom lovelace-card to visualize a stationboard.

Configuration

Add a new sensor to your configuration.yaml:

sensor:
  - platform: swiss_public_transport_mod
    name: Schüpfen
    limit: 4
    stationboard:
    - Schüpfen

Privacy

This integration uses :

  • the changes made in the pull request by @agners: home-assistant/core#30715
  • and some own code to make it work with never home assistant versions

About

Simplify the integration of the stationboard by @agners

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%