Nisbo / another_mvg

MVG/MVV integration for Home Assistant
https://github.com/Nisbo/another_mvg#
MIT License
10 stars 4 forks source link

Custom element not found: content-card-another-mvg #8

Open yakko2001 opened 2 months ago

yakko2001 commented 2 months ago

Always get the message "Custom element not found: content-card-another-mvg" on my custom card.

Any Ideas? Thank you in advanced.

Nisbo commented 2 months ago

Regarding this error message, it looks like the file is missing. This was a separate step in the manual and the file is not located in the another_mvg folder.

I assume that you restarted HA after installing the addon and cleared your frontend cache. I also assume that you added the resource as JavaScript.

To check if the file is in the correct folder, try to open it in your browser. I recommend to use your PC instead of the smart phone browser.

http://192.168.178.52:8123/local/content-card-another-mvg.js replace 192.168.178.52 with the IP of your HA server. If you changed the standard port 8123 you also have to change this in the url.

If you get an 404 error, make sure the content-card-another-mvg.js is in the correct folder. It has to be in the www folder. This folder is located in the same folder than your configuration.yaml

grafik