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.
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.
- Fork and clone the repository.
- Open the folder and run
npm run-script build
when it's ready. - The compiled
.js
file will be accessible at dist folder - On a running Home Assistant installation copy the compiled file to /www/community/XXXXX/
- Add the ressouces to Home Assistant Lovelace