Yevgenium / weather-chart-card

Custom weather card with charts
MIT License
276 stars 81 forks source link

Error adding Lovelace card in UI or YAML mode. #31

Closed bgunsberger closed 4 years ago

bgunsberger commented 4 years ago

Hi, I followed the instructions in the Readme, but after a restart, I'm getting:

"Error: Custom element not found: weather-card-chart"

when trying to add the card in UI or YAML mode.

I definitely have the latest .js file uploaded to config/www. using:

wget https://raw.githubusercontent.com/sgttrs/lovelace-weather-card-chart/master/weather-card-chart.js

Thanks.

MarcusUA commented 4 years ago

hey, did you add it as 'url: /local/custom-weather-card-chart.js' or 'url: /local/weather-card-chart.js' Readme has incorrect file name.

bgunsberger commented 4 years ago

Great catch! I should have noticed that. Thanks!