Closed KattenJansson1974 closed 2 years ago
Ok, almost there... or not. According to the instructions, the .js-file is called "custom-weather-card-chart.js" but the file itself is just called "weather-card-chart.js".
So no error-message, but... a completely white page, also my other cards are not visible.
a completely white page, also my other cards are not visible.
The same problem
I'm having the same issue with HA 0.118.2
.
The following installation steps were performed:
weather-card-chart.js
to /usr/share/hassio/homeassistant/www/
Configuration->Lovelace Dashboards->Resources
added a new resource with URL set to /local/weather-card-chart.js
and the resource type JavaScript Module
type: 'custom:weather-card-chart'
. In the process it already shows the error listed in the subject, but eventually allows saving the new card.Then the card looks like below: What am I doing wrong?
Update: I'm not deleting the comment, maybe someone will find it useful. Apparently it was necessary to clear the browser cache (FF in my case) which kept information between HA restarts. I just hit Shift+Refresh and the card has magically appeared.
Sorry for beating a dead horse. I can't for the life of me get this integrated. So far I copied the weather-card-chart.js to /usr/share/hassio/homeassistant/www/ (and restarted) I then tried calling on the card in Lovelace and got the "doesn't exist" error. Even after flushing the cache (I'm on Chrome).
I am not able to get a clear understanding of what declaration lines are needed in configuration.yaml.
Any ideas?
Edit:
Got it working! Added the git hub reposetory to HCAS. Thank you @Yevgenium! Really awesome card.
What am I doing wrong? I get this in my UI
Regardless what I do, it still pops up. I'm certainly missing something here... please if anyone can assist.