bramkragten / weather-card

Weather Card with animated icons for Home Assistant Lovelace
MIT License
497 stars 173 forks source link

not working #130

Open cepera2412 opened 2 years ago

cepera2412 commented 2 years ago

Custom element doesn't exist: weather-card. type: custom:weather-card entity: weather.openweathermap

gives an error to any parameters. installed the latest version. master as others have written. in the configuration.yaml wrote "sun". result is one. does it work at all? Help!

installed via HACS. the resource prescribed as in the description in configuration.yaml

dckiller51 commented 2 years ago

hello add manualy to resources /hacsfiles/weather-card/weather-card.js

johnjoemorgan commented 2 years ago

Thanks

johnjoemorgan commented 2 years ago

That worked for a day and now back with the same error - uninstalled, installed - no go. Placed in the the resource manually - still the same

In resources I am seeing:

/hacsfiles/weather-card/weather-card.js?hacstag=192732636146

and

/hacsfiles/weather-card/weather-card.js

MetroAffe commented 2 years ago

Same here. Not working. Error in Console: TypeError: undefined is not a function (near '...css...') Error: {}

Weather-card.js:342:15

fabse-hack commented 2 years ago

same probleme here .....

llranga commented 2 years ago

I'm facing same issue

Jo-Jo1987 commented 2 years ago

me 2, only mobile version works

Hubszo commented 2 years ago

Same problem since last update.

sagitt commented 2 years ago

same here. from 1.5.0 to 1.4.6

Reynders1 commented 2 years ago

Similar problem here. Installed on two different systems with cards set identical, resources defined identical and configuration.yaml set identical.

Works fine on HA OS

Version core-2022.3.8
Installation Type Home Assistant OS
Development false
Supervisor true
Docker true
User root
Virtual Environment false
Python Version 3.9.9
Operating System Family Linux
Operating System Version 5.10.103-v8
CPU Architecture aarch64

but not on

Version core-2022.3.8
Installation Type Home Assistant Supervised
Development false
Supervisor true
Docker true
User root
Virtual Environment false
Python Version 3.9.9
Operating System Family Linux
Operating System Version 5.10.0-11-arm64
CPU Architecture aarch64
Imoriarty commented 2 years ago

Tried working some of this out, and got my card to finally show up!

For me the /hacsfiles directory route seems to point from:

/hacsfiles/weather-card/weather-card.js

to:

/local/community/weather-card/weather-card.js

/local is mapped (for me) to config/www

Might be worth verifying that linkage works correctly / that directory structure is what you have. or swapping out the mappings in the dashboard resources and seeing if any of these other paths work, and troubleshooting from there.

Tupsi commented 2 years ago

@Imoriarty I have the same issue and from what I tested, both routes point to the same files here, so

/hacsfiles/weather-card/weather-card.js and /local/community/weather-card/weather-card.js

open the same file, so what did you change to fix yours?

Tupsi commented 2 years ago

correction, I just "redownloaded" with HACS the master branch and that one worked (was using 1.4.6 earlier I think because that was the first showing up during 1st install). So all good on my end.

Jo-Jo1987 commented 2 years ago

Issue still persists in supervised version of home assistant

Tupsi commented 2 years ago

I disagree. At least I am using that version and it works fine here. Just try reinstalling from MASTER and refresh the browser, should work. I used the version from HACS and removed the extra line one of the posters above said to add by hand, because I ended up with two weather cards.

Jo-Jo1987 commented 2 years ago

I uninstalled the whole card. And installed the master version. Cleared cookies. And it really still persists, using:

Jo-Jo1987 commented 2 years ago

After a long time somehow the cookies renewed the installation.

Now it works

llranga commented 2 years ago

It started working after i upgraded home assistant to version 2022.5.2