I have been using the Overview dashboard with the standard cards, but now I want to add a custom card. In this case, it’s the weather-card by bramkragten. I placed the js and icons in the folders www/custom-lovelace/weather-card and added this to configuration.yaml:
I checked and the installation information on the Github pages is OUTDATED.
You can setup the card directly in HACS…so remove the stuff you manually added , restart and look here
I deleted all the files and the lines in configuration.yaml and restarted (several times). Then I tried to add the card using Overview>edit>add card>manual, and got the same error as before.
Can you tell me, first of all, when adding a card through HACS by downloading the repository, is it necessary to add lines to configuration.yaml, or does the UI handle the link to resources? If it is necessary, what is the proper format?
When using HACS no additional yaml stuff should be needed, unless the developer mentions this. As the current documentation is outdated this is not immediately clear.
However, I just went to my dev-instance HACS, selected weather card, v150 was proposed, downloaded it, reloaded the screen as proposed after download and I can now add it from the dashboard, i.e. in the dashboard I select add-card button…there was no need to restart HA in this case
.
If you used HACS and it worked properly, the edit > add card should allow you to select it (search for ‘weather’…the picture shows multiple weather cards (I have multiple sources)
Why yes, it did eventually show up there, after restarting a few dozen times more (I was doing other things as well). I will stick to HACS to add custom cards in the future. Thank you again for your help.