You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this project is still active, I like this card, it didn’t work well so this is a work around I have come up with to eliminate the path issues I faced.
Describe the bug
No images render within the card on the HAOS front end (yaml or storage modes).
To Reproduce
Install the card through HACS, clear cache and reload page. All browsers, all devices do not render images with HAOS.
Work around
Modify the sky-tonight-native-card.js file paths of the images on lines 5, 22, 23, 24, 33 and 37 from /local/ to /hacsfiles/
Delete the sky-tonight-native-card.gz file
Change the lovelace resources url path from /local/ to /hacsfiles/
“If you make local changes to a plugin in the .js file, delete the .gz variant to have HACS serve up that one.”
“HACS has a custom view/path/endpoint for serving up Lovelace elements (plugins) /hacsfiles/, this works mostly the same way as /local but has some extra features.”
“The /hacsfiles endpoint does not cache anything; it will instruct your browser to fetch a new version on each load.”
The text was updated successfully, but these errors were encountered:
Not sure if this project is still active, I like this card, it didn’t work well so this is a work around I have come up with to eliminate the path issues I faced.
Describe the bug
No images render within the card on the HAOS front end (yaml or storage modes).
To Reproduce
Install the card through HACS, clear cache and reload page. All browsers, all devices do not render images with HAOS.
Work around
Modify the sky-tonight-native-card.js file paths of the images on lines 5, 22, 23, 24, 33 and 37 from /local/ to /hacsfiles/
Delete the sky-tonight-native-card.gz file
Change the lovelace resources url path from /local/ to /hacsfiles/
Restart HA
Please refer to the following document for justification: https://hacs.xyz/docs/categories/plugins
“If you make local changes to a plugin in the .js file, delete the .gz variant to have HACS serve up that one.”
“HACS has a custom view/path/endpoint for serving up Lovelace elements (plugins) /hacsfiles/, this works mostly the same way as /local but has some extra features.”
“The /hacsfiles endpoint does not cache anything; it will instruct your browser to fetch a new version on each load.”
The text was updated successfully, but these errors were encountered: