Skip to content
A card giving richer public transit display using NextBus sensors.
TypeScript JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.devcontainer First commit Dec 31, 2019
.github/workflows Fix release Dec 31, 2019
.vscode First commit Dec 31, 2019
src fix: Compute upcoming based on last updated Jan 6, 2020
.eslintrc.js
.gitignore First commit Dec 31, 2019
.prettierrc.js First commit Dec 31, 2019
LICENSE First commit Dec 31, 2019
README.md Fix HACS badge Jan 1, 2020
hacs.json
package.json Bad path to repo Jan 2, 2020
rollup.config.js First commit Dec 31, 2019
screenshot.png Add basic description and screenshot Jan 1, 2020
tsconfig.json First commit Dec 31, 2019
yarn.lock First commit Dec 31, 2019

README.md

NextBus Card

A card which displays multiple public transit routes using the NextBus sensors. This improves on a generic entity display making it appear more akin to a mobile phone widget, giving you more than just the next route's countdown.

Screenshot

[![GitHub Release][releases-shield]][releases] ![License][license-shield] hacs_badge

![Project Maintenance][maintenance-shield] [![GitHub Activity][commits-shield]][commits]

Options

Name Type Requirement Description Default
type string Required custom:nextbus-card
name string Optional Card name Public Transit
entities string[] Optional List of nextbus entities none

Developing with [devcontainer][devcontainer]

  1. Fork and clone the repository.
  2. Open the [devcontainer][devcontainer] and run npm start when it's ready.
  3. The compiled .js file will be accessible on http://127.0.0.1:5000/nextbus-card.js.
  4. On a running Home Assistant installation add this to your Lovelace resources:
- url: 'http://127.0.0.1:5000/nextbus-card.js'
  type: module

Change "127.0.0.1" to the IP of your development machine.

Bonus

If you need a fresh test instance you can install a fresh Home Assistant instance inside the devcontainer as well.

  1. Run the command dc start.
  2. Home Assistant will install and will eventually be running on port 9123
You can’t perform that action at this time.