AitorDB / home-assistant-sun-card

Home assistant sun card based on Google weather design
MIT License
407 stars 183 forks source link

Reload cleaning the cache? #68

Open spencerthayer opened 3 years ago

spencerthayer commented 3 years ago

What does "reload cleaning the cache" mean? I have restarted Home Assitant several times and still cannot find the card.

LiJu09 commented 3 years ago

Try CTRL + F5

AitorDB commented 3 years ago

It may vary depending on the browser, but for example in Chrome if you open the devtool (F12 or Ctrl+Shift+I) and you let the reload button near the URL bar pressed for a few seconds you get the option of "Empty cache and hard reload"

opmitch commented 3 years ago

Hi, I had a similar issue when using this through HACS using both CTRL + F5 and the two options mentioned by AitorDB. What worked for me was going to HACS -> Reinstall -> accept prompt to reload + add card. This automatically pulled up the Manual Sun Card while clearing cache with the above 2 options did not work.

Aresitoo commented 3 years ago

Hi, tried all the options mentioned above and when going into overview >add card, still no sign of the Sun card anywhere.. any suggestions ?

magnetic157 commented 3 years ago

Hi, tried all the options mentioned above and when going into overview >add card, still no sign of the Sun card anywhere.. any suggestions ?

I'm having the same issue...

AitorDB commented 3 years ago

@Aresitoo @magnetic157 do you get any errors on the devtools console? (F12 or Ctrl+Shift+I in Chrome)

algra4 commented 3 years ago

Hi @AitorDB,

I have the same problem, I have this error : Uncaught (in promise) https://192.168.1.22:8123/hacsfiles/home-assistant-sun-card/home-assistant-sun-card.js

However, the file is avaible in this path

image

AitorDB commented 3 years ago

@algra4 it seems like it's finding it but something else is failing, could you provide more details of the error? Also, what version of home assistant and the card are you using?

algra4 commented 3 years ago

@AitorDB, of course 😄

My infomations :

System Health

version core-2021.6.2
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.8.9
os_name Linux
os_version 5.4.83-v8
arch aarch64
timezone UTC
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 4974 Installed Version | 1.12.4 Stage | running Available Repositories | 822 Installed Repositories | 2
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 5.13 -- | -- update_channel | stable supervisor_version | supervisor-2021.05.4 docker_version | 19.03.15 disk_total | 6.6 GB disk_used | 4.7 GB healthy | true supported | true board | rpi3-64 supervisor_api | ok version_api | ok installed_addons | Check Home Assistant configuration (3.7.1), Duck DNS (1.12.5), Let's Encrypt (4.11.0), File editor (5.3.1), Samba share (9.5.0), SSH & Web Terminal (8.2.3), Home Assistant Google Drive Backup (0.104.3)
Lovelace dashboards | 1 -- | -- resources | 1 views | 1 mode | storage

I receive this error when a load the lovelace interface

image

magnetic157 commented 3 years ago

@Aresitoo @magnetic157 do you get any errors on the devtools console? (F12 or Ctrl+Shift+I in Chrome)

I did a hard reset of my RP and started showing up. Thanks for the follow up!

algra4 commented 3 years ago

@AitorDB it's work for me now 😄

I juste reinstall HACS (clear cache before install it like in the documentation) and now it's ok.

image

Sorry for the disturbance ...

AitorDB commented 3 years ago

Glad to hear that! :smile: I'll leave this open for now until I can add a troubleshooting section to the README