HVV departures card for Home Assistant.
This custom UI card shows the next departures at a certain station based on the HVV Departures integration.
Install the HVV Departures integration and setup a departure sensor, e.g. sensor.departures_at_jungfernstieg
.
HVV Card is available as a custom HACS repository. This is the recommended way to install the custom cards.
- Open HACS and add this repository to your "Custom repositories".
- "HVV Departure Card" will show up in the "Frontend" section
- Click "Install" and continue to configure a card
- Download the hvv-card.js to
/config/www/
. - Add the following to resources in your lovelace config or use the Lovelace configuration UI.:
resources:
- url: /local/hvv-card.js
type: module
Add a card with type custom:hvv-card
:
type: 'custom:hvv-card'
entity: sensor.departures_at_jungfernstieg
max: 10
Name | Type | Default | Since | Description |
---|---|---|---|---|
type | string | required | v0.1.0 | custom:hvv-card |
entity | string | required | v0.1.0 | The entity_id from the HVV departures integration. |
max | int | optional (Default: 5) | v0.1.0 | Set the max. listed departures |