I’m trying to get up and running with the boilerplate custom card development. But when I add it to my lovelace-ui.yaml file I get the error:
Custom Element does not exist: custom:boilerplate-card
This is what I have as the element code:
- type: custom:boilerplate-card
name: Boilerplate Card Development
entity: sun.sun
test_gui: true
resources:
- url: "http://127.0.0.1:5000/boilerplate-card.js"
type: module
When I go to the URL in the browser, http://127.0.0.1:5000/boilerplate-card.js, this is what displays in the window:
export{B as BoilerplateCard}from"./boilerplate-card-0997fd54.js";
I’ve restarted, cleared the cache etc and that error still shows up. Maybe someone can help my quickly troubleshoot what step I’m missing.
I should note that my HA installation is on a VM via my Qnap. So maybe my HA can’t see that local url? If that is the case I’m not sure how to get an external url from my docker that the VM machine could access on my local network.
The VScode im using and setup the devcontainer is located on my Laptop, not in the HA installation.
Thanks!