Hi everyone
I’ve created a custom Lovelace card called Battery Donut Card (works perfectly when added manually via YAML),
but it doesn’t appear in the card picker in the new dashboard UI (2025.10.0).
So I’m wondering:
• Is this a known limitation in the new section-based dashboards?
• Do custom cards need a specific property to appear in the picker?
• Or is there a different metadata structure expected since …… ?
You need to add the getStubConfig method for the card picker…
Your card can also define a getStubConfig method that returns a default card configuration (without the type: parameter) in json form for use by the card type picker in the dashboard.
Heh, so I found out that my own cards, which are already in the hacs default repository, are also not visible in the card picker. They are rendered correctly in the dev instance. Strange…
This is probably some kind of error when loading resources. Because when I added resources to configuration.yaml for frontend extra_module_url, it works correctly.
I’m not sure if the error is with our cards or elsewhere. You can create an issue on the frontend repo, maybe we can find out more.
My card actually loads fine (shows up in the console under window.customCards and with customElements.get(‘battery-donut-card’)), but it still doesn’t appear in the card picker.
So it’s not a loading problem — looks more like the picker just doesn’t detect some customCards anymore.
I’ll open an issue in the frontend repo to get to the bottom of it.