Lovelace custom card for the Solar Fusion integration. Displays the fused PV forecast with source comparison, quality metrics, and a 14-day history sparkline.
- Today & Tomorrow – fused kWh value with uncertainty indicator
- Source comparison – bar chart and weighting for all active forecast sources
- Quality table – RMSE, bias, and quality label per source
- History sparkline – actual generation vs. forecast (14 days)
- Click any value to open the HA more-info dialog for the underlying entity
- Home Assistant with the Solar Fusion integration installed
- HACS (for easy installation)
- HACS → Frontend → ⋮ → Custom repositories
- Enter the repository URL, select category Lovelace → Add
- Search for Solar Fusion Card in HACS and install it
- Reload Home Assistant
- Create the folder
/config/www/hass-solar-fusion-card/ - Copy
solar-fusion-card.jsand thelocales/folder into it:/config/www/hass-solar-fusion-card/solar-fusion-card.js /config/www/hass-solar-fusion-card/locales/en.json /config/www/hass-solar-fusion-card/locales/de.json - Settings → Dashboards → Resources → Add resource:
- URL:
/local/hass-solar-fusion-card/solar-fusion-card.js - Type: JavaScript module
- URL:
- Clear browser cache / hard reload
Only one entity is required – all other values are read automatically from its attributes.
type: custom:solar-fusion-card
entity: sensor.solar_fusion_dach_fused_today
title: Solar Fusion Roof # optional| Option | Type | Default | Description |
|---|---|---|---|
entity |
string | required | *_fused_today sensor entity ID |
title |
string | Solar Fusion |
Card heading |
The card ships with English (en) and German (de). All UI strings live in dist/locales/<lang>.json.
Adding a new language is easy:
- Copy
dist/locales/en.jsontodist/locales/<lang>.json(e.g.fr.json,nl.json) - Translate the values – keep the keys unchanged
- Open a pull request
The card automatically picks up the language set in your Home Assistant profile.
MIT
