make-all / metlink-nz

Metlink Wellington Public Transport integration for Home Assistant
Apache License 2.0
10 stars 4 forks source link

Listing Multiple Departures in Dashboard #5

Closed stevewrightnz closed 2 years ago

stevewrightnz commented 2 years ago

Hi Jason

Nice Integration!

Quick question. If "Number of Departures to Track" is set to 3 then is it possible to show the next 3 departures on a card? If so which one would you use?

SteveW

stevewrightnz commented 2 years ago

Sorted - I found the answer in the Wiki :)

make-all commented 2 years ago

There is an example here that might help: https://github.com/make-all/metlink-nz/wiki

I use an entities card to list all the departures. The example uses two lines per departure, one with the name of the service and one with the time it is due, but it is also possible to combine these into a single line using the template-entity-row custom component.