Skip to content

Montpellier Lovelace TAM card displays next two crossing times of the tramway or bus in Montpellier, France.

License

Notifications You must be signed in to change notification settings

MathisAlepis/lovelace-tam-card

Repository files navigation

hacs_badge License: MIT GitHub release (latest by date) Maintenance

TAM Card

Montpellier Lovelace TAM card displays next two crossing times of the tramway or bus in Montpellier, France.

The APP get's GTFS-RT data from official TAM services of city of Montpellier and "lovelace tam card" display's this data.

Screenshot

Options

Name Type Requirement Description Default
type string Required custom:tam-card custom:tam-card
stop string Required Arrêt Pablo Picasso
direction string Required Direction LATTES CENTRE
textColor string NO Text Color auto or
backgroundColor string NO Background Color auto or

Leave the 'textColor' and 'BackgroundColor' fields empty (or enter 'auto') so that the color is automatically assigned according to the line.

Developing

  1. Fork and clone the repository.
  2. Open the folder and run npm run-script build when it's ready.
  3. The compiled .js file will be accessible at dist folder
  4. On a running Home Assistant installation copy the compiled file to /www/community/XXXXX/
  5. Add the ressouces to Home Assistant Lovelace

About

Montpellier Lovelace TAM card displays next two crossing times of the tramway or bus in Montpellier, France.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published