v2.7.2 — Fix custom card not loading (Add Card picker)
Fixes "Custom element doesn't exist: prusa-connect-card"
The card's JavaScript was never being loaded by the frontend, so the element was undefined — it neither appeared in the Add Card picker nor worked when added manually.
Root cause: the integration tried to register the card via an old internal key (lovelace_resources) that no longer exists in current Home Assistant, so registration silently did nothing.
Fix: the card module is now loaded with frontend.add_extra_js_url (the current, supported mechanism, verified against HA 2026.5.4). It imports the card on every dashboard in both storage and YAML mode, which defines the element and makes it show up in the graphical card picker with a live preview and visual editor.
After updating
- HACS → Redownload → restart Home Assistant.
- Hard-refresh your browser (Cmd/Ctrl+Shift+R) to drop the old cached page.
- Edit dashboard → Add Card → search "Prusa" — it should now appear.
type: custom:prusa-connect-card
entity_prefix: sensor.prusa_mini
name: Prusa Mini🤖 Generated with Claude Code