Skip to content

🚏 This Lovelace custom card displays Translink data from the public api for a given stop and route

Notifications You must be signed in to change notification settings

math0ne/translink-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge

Lovelace Translink Card

This Lovelace custom card displays Translink data from the public api for a given stop and route.

This is designed to work with the translink sensor: https://github.com/math0ne/translink_sensor

Preview

Manual install

  1. Download and copy 'translink-card.js' into your 'config/www' directory.

  2. Add a reference to 'mini-graph-card-bundle.js' inside your 'ui-lovelace.yaml' or at the top of the raw config editor UI:

resources:
  - url: /local/translink-card.js
    type: js

HACS Custom Install

  1. Go to the community tab of your home assistant installation
  2. Click settings
  3. Add "https://github.com/math0ne/translink-card" with the type Plugin
  4. Click Save

Using the card

Add the following lines to your ui-lovelace.yaml (entity should be the ids of translink sensors):

cards:
  - type: "custom:translink-card"
    entities: 
      - entity: sensor.translink_next_bus
      - entity: sensor.translink_next_bus_2

About

🚏 This Lovelace custom card displays Translink data from the public api for a given stop and route

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published