Custom Home Assistant Lovelace card.
webasto-connect-card.js: source for the custom card../custom_components/webastoconnect/card/webasto-connect-card.js: built single-file card module (generated)localize/localize.js: translation lookup and language fallbacktranslations/*.json: per-language stringswebasto_connect_card.yaml: example card configuration
From repository root:
cd card-src
npm install
npm run buildFor iterative testing while developing:
cd card-src
npm run build:watchCard version marker (__WEBASTO_CONNECT_CARD_VERSION__) is injected automatically
from card-src/package.json during build.
The integration auto-installs card assets on load/update to:
config/www/webastoconnect/webasto-connect-card.js
Manual install is optional:
From this repository root:
mkdir -p config/www/webastoconnect
cp custom_components/webastoconnect/card/webasto-connect-card.js config/www/webastoconnect/webasto-connect-card.jsThen add a Lovelace resource:
- URL:
/local/webastoconnect/webasto-connect-card.js - Type:
module
Use the example from card-src/webasto_connect_card.yaml and select your Webasto device ID in the card editor.
Manual entity IDs are still supported as overrides when needed.
- The card auto-selects text from Home Assistant language (
hass.language). - Built-in translations currently include
daanden(fallback:en). - You can still override corner titles with:
title_geo_fencetitle_modetitle_timerstitle_map