Skip to content

bforbenny/lovelace-lta-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LTA Card

Stability:Beta GitHub tag (latest SemVer) License: MIT GitHub issues

A HomeAssistant Lovelace custom card which displays public transport using the HA-LTA sensors. This improves on a generic entity display making it easier to digest data.

Screenshot

Requirement

Make sure you have an HA-LTA entities configured and running

Installation

  1. Download and copy lta-card.js into your /config/www/ directory.
  2. Add a reference to lta-card.js inside your Manage resources when editing dashboard

Using the card

Add a manual card with the sample configuration

Sample configuration

cards:
  - type: "custom:lta-card"
    header: "Burgundy Hill"
    threshold: 4
    group:
      - name: "77"
        entities:
          - entity: sensor.lta_42319_77_1
          - entity: sensor.lta_42319_77_2
          - entity: sensor.lta_42319_77_3
      - name: "106"
        entities:
          - entity: sensor.lta_42319_106_1
          - entity: sensor.lta_42319_106_2
          - entity: sensor.lta_42319_106_3

Options

Name Type Requirement Description Default
type string Required custom:lta-card
header string Optional Card Title Next Buses
threshold integer Optional Orange text color to if state < threshold minute 0
group object[] Required New row of same bus service
- name string Optional Bus service number to show on first column none
- entities string[] Optional List of lta-bus entities none

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors