Skip to content

plutomedia987/lovelace-tfl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TFL Tube Status Card

TFL card to display the tube statuses. The YAML file in the repo should be added to your config for now until I get an integration running

image

Clicking on the line will show you any details if available

image

Installation

HACS (Easiest)

Add this as a custom reposity in to HACS

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Manual

  1. Copy the lovelace-tfl.js in to the www folder
  2. Go to the dashboard settings
  3. Click on the 3 dots (top right) -> resources
  4. Click "Add resource" bottom right
  5. Add the following javascript rosource "/local/lovelace-tfl.js"

Setup

To set up the card make sure the rest APIs are running. My current rest file is included in this repo and should be included under "rest:"

Add a custom card with the following settings:

type: custom:tfl-card
entities:
  - entity: sensor.tfl_bakerloo_status
  - entity: sensor.tfl_central_status
  - entity: sensor.tfl_circle_status
  - entity: sensor.tfl_district_status
  - entity: sensor.tfl_elizabeth_line_status
  - entity: sensor.tfl_hammersmith_city_status
  - entity: sensor.tfl_jubilee_status
  - entity: sensor.tfl_metropolitan_status
  - entity: sensor.tfl_northern_status
  - entity: sensor.tfl_piccadilly_status
  - entity: sensor.tfl_victoria_status
  - entity: sensor.tfl_waterloo_city_status

Releases

No releases published

Packages

No packages published