Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.53 KB

info.md

File metadata and controls

38 lines (26 loc) · 1.53 KB

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