Lovelace Custom element doesn't exist: button-card

Hi all, wondering if you can help at all, I’m getting the below error when trying to use any custom cards in a custom dashboard done entirely in yaml.

No matter what i try it just doesn’t seem to pick up the custom card. The file is located in this path: /config/ui_lovelace_minimalist/custom_cards/custom_card_esh_welcome/custom_card_esh_welcome.yaml and the names are exactly the same so i’m stumped why its not picking it up. Any suggestions?

Thanks

You also need to add the card to Settings → Dashboards → → Resources

As per the installation instructions for each card.

1 Like

This was working for me.
The format of the URL must be
/local/myJavascriptFile.js

Did you ever get this working? I’m running into the same issue with basically all of the modules. I have them added to the configuration.yaml file and confirmed they also show up on the Resources screen.

Just figured this out via this post. Symbolic link to /hacsfiles fixed it.

2 Likes

That just fixed the same issue for me after an update to 2024.3.3 seemed to break various HACS cards. Issued “ln -s /config/www/community /hacsfiles” through the normal SSH session to create the symlink and refreshed my browser page.

2 Likes