New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background not working #47
Comments
got the same problem. this helped so far: |
Same issue here nuc with latest HA. I just have a black back ground, should be dark mode red-blue |
Same here love the dark red blue, it seems like the pathway to the image is the problem |
you can solve it with my unelegant way until its solved :) |
I am on vacation at the moment, so if anybody can submit a pull request, I’m happy to except it. |
|
This can be solved by copying over the image files to the correct location in /config/www/community/themes/ios-themes/ . Not sure why they got deleted after update. Reinstalling via HACS did not remedy this. So I manually copied the background files to the expected locations. This may also have been related to the recent HACS update but I cannot confirm since I updated both Home Assistant and HACS at the same time without reloading. |
Looking at a diff from last HACS release it looks like changes were made for populating the public endpoints under /hacsfiles to be asynchronous in this commit perhaps this is not working as intended and preventing the files from being copied over. |
+1 Yes, its helps. |
Cześć, jakie pliki mam skopiować ? |
Hi, what files should I upload? |
I too have run into this problem after installing the latest HACS and HA at the same time. I’ve tried copying the images around to various locations, but haven't got anywhere yet. Any more detailed pointers would be appreciated. |
Does anyone have any clue yet why this has happened exactly? My themes are all in /config/themes. Within that folder there is, of course, ios-themes, that contains the theme and all the background images. The themes themselves point to /hacsfiles/themes/ios-themes to get the background images. This, in effect, is /config/www/community/themes/ios-themes. Sure enough, creating that folder and copying all the jpg's there fixes the issue (as suggested above). But does that mean that path existed previously, perhaps created during the theme installation, but has now somehow been deleted? |
This did the trick. |
+2 Yes, its helps. |
Will you be so kind to be more specific please. Where did you exacly copied the image files, witch directory? and witch files? |
You need to copy the jpg files to /config/www/community/themes/ios-themes. Create any folders that don’t already exist. You will have to refresh your browser/app to see any changes I think. |
The original files are located in: /config/themes/ios-themes/. Move them or copy them to: /config/www/community/themes/ios-themes/. 1.- first create the directory structure
That's all. |
I don't understand why you guys are having issues? I just uninstalled the themes and reinstalled them, and everything worked just fine. |
Maybe the latest Home Assistant update fixed it? |
Mine worked fine for a while on some devices, but not on others. When it failed varied from one device to the next, so I assume it was the result of caching. Implementing the fix above fixed it for all my devices (and other themes that were impacted by the same issue). |
Thx Every theme works !!!! |
Sorry, doesn't work for me |
nope that doesnt fix the issue. only way to make it work is to copy the files to the www folder.... tried so many things before doing this. |
I agree, uninstall and reinstall did not fix this. I think something persistent hangs even after uninstall. But as mentioned by asemev, copying the files to the www folder fixed it immediately. |
I think I found the the fix Broken config Remove the / at the end of the line and now everything works. Something must have change in the last version or two frontend: |
Mine has never had the trailing slash, but still failed before I copied the images around. |
the workaround did not worked for me. your configuration.themes: !include_dir_merge_named themes your configuration.and i moved files to /config/www/community/themes/ios-themes but nothing changed also after a full restart of HA, and a full browser refresh Need help... |
OK, I'm running home assist in Docker. So - no HACS. Make sure you have this setting in configuration.yaml frontend:
themes: !include_dir_merge_named themes # cd to the folder where your configuration.yaml is
mkdir -p www/themes/ios-themes/
# Clones this repo to tmp
git clone https://github.com/basnijholt/lovelace-ios-themes.git tmp
# Copy all images to the puplic ios-themes folder
cp tmp/themes/*.jpg www/themes/ios-themes
# Replace the hacsfiles-path with local-path and create the themes file
cat tmp/themes/ios-themes.yaml | sed 's#/hacsfiles#/local#g' > themes/ios-themes.yaml
# Remove the cloned tmp-Folder
rm -rf tmp Restart HA! Hope this helps |
Why is the path wrong? Does this theme requires an update ? |
This helps, thank you |
To add a little specificity, because this just worked for me:
Restart HA using the method appropriate for your deployment, and viola! |
work for me😐 |
For me, I didn't need to change much at all. It's just about making sure the ios-themes.yaml is pointing at the jpeg files. My process was this:
Note: "local" is referencing the www folder. |
This worked PERFECTLY! glad this was the fix...it was driving me nuts why all of my backgrounds disappeared... |
Same here, works like a charm! Thanks a lot for the solution! |
when i chenge themes background not changed |
So, this kinda worked. It solved the repointing. However, doesn't matter which theme variant I choose, I always get the **EDIT: I should note that this ONLY occurs on a RASPI imaged HA instance. I have another instance running inside a vSphere VM and it works perfectly fine. Any ideas? |
hi all first I just want to thank you for these amazing theme.
I now have a problem that my background Is grey on all the different themes, how do I fix this ?
The text was updated successfully, but these errors were encountered: