Custom Lovelace Card for showing status of Nederlandse Spoorwegen with ticket-like UI.
It is working however there is not an indication yet when the train is cancelled. It only shows delay and platform.
You first have to install the desired sensor(s) from this integration: https://www.home-assistant.io/integrations/nederlandse_spoorwegen/
- Place the ns-status-card folder with its contents in the WWW/COMMUNITY folder of your home assistant.
- Add the folder to the dashboards/resources list. Folder path should look like: /hacsfiles/ns-status-card/ns-status-card.js
- Refresh the browser, now you should be able to use the card.
type: custom:ns-status-card
entity: sensor.nijmegen_amsterdam
type: custom:swipe-card
parameters:
effect: coverflow
spaceBetween: 2
slidesPerView: 1.1
cards:
- type: custom:ns-status-card
entity: sensor.goffert_rosmalen
- type: custom:ns-status-card
entity: sensor.rosmalen_goffert
Single card example:
Slider example: