UI-Lovelace-Minimalist / UI

UI-Lovelace-Minimalist is a "theme" for HomeAssistant
https://ui-lovelace-minimalist.github.io/UI/
Other
1.63k stars 430 forks source link

ui_lovelace_minmalist custom element doesn't exist: #1269

Open smartypantsuk opened 1 year ago

smartypantsuk commented 1 year ago

I have tried installing UI-Lovelace-minimalist multiple times on fresh HA OS install only for the same error to occur consistently every time. The initial install via HACS works fine, no errors. Upon viewing the default Lovelace dashboard, all the errors display as in the screenshot below. lovelace-dashboard

I have verified installation steps. I have reloaded ui_lovelace_minimalist from the developer tools sections multiple times. I have refreshed browser cache multiple times. I have even installed a different browser to try a fresh, still the same. I have restarted HA multiple times.

I have tried adding the urls in the UI Resource section:

Nothing seems to work as it should. So I looked for the correct files in the config folders and they are present. However, something I have noticed is that there are no files in config/www/community folder! My understanding was that hacfiles directory is a type of symlink to community folder, so the files should exist in there should they not? I have used HACS for a few weeks with no problems. I have around 6 integrations installed via HACS and working fine.

I have tried installing the cards manually into community folder, this doesn't fix anything either so I've now removed them. There are no errors in the system logs.

I am not sure what to try next, except this happens each time I run a clean install of HA OS or refresh from a working snapshot.

Thanks

sauliusesu commented 1 year ago

Same is happening for me. Minimalist stopped working for me after Home Assistant Core update. I restored HAC to version 2023.3.6 and everything is working again.

smartypantsuk commented 1 year ago

Same is happening for me. Minimalist stopped working for me after Home Assistant Core update. I restored HAC to version 2023.3.6 and everything is working again.

I think it told me to update before I could install one of the required items, though I fail to remember which.

droserHA commented 1 year ago

the same! does not work.

sauliusesu commented 1 year ago

The latest minimalist hotfix has been installed along with all the other HA updates. Still unusable, same errors as in original post. Uninstalling..

ChrisK91 commented 1 year ago

Have you run frontend.reload_themes as stated on the release page?

droserHA commented 1 year ago

The author does not deal with problems, as I understand it. It's a pity!

ChrisK91 commented 1 year ago

Are you using the "Include Custom Cards" option or have you installed the required third party cards manually. I've also found that the custom cards now require to be individually selected in the integration options. I think the documentation is a bit outdated in that regard.

basbruss commented 1 year ago

@droserHA What do you mean by the author does not deal with problems. Every bug caused by the latest HA releases are fixed within days or even in hours...

The type of error mentioned above is one caused by some wrong config/misunderstanding on how to use custom frontend components with HACS. And therefore is posted here.

Really nothing to do with this project, only that it uses some of the components.

There are plenty guides for HACS and closed issues with similar errors.

droserHA commented 1 year ago

@basbruss I didn't mean to offend anyone. After updating HA to 2023.4+ cards stopped working. People have similar problems and tickets are not closed. I like it very much. A lot of work has been done, but now it does not work and I do not know the reason.

Kirito-AnF commented 1 year ago

I was having these same issues, along with other ones including being unable to update HASSOS at all. So after a full wipe and reinstall i was still confronted by not being able to use ANY of the HACs lovelace cards. However i have found a solution that works in my case.

Download/install Card ect via hacs Note install directory. Usually something to the affect of : /local/community/xx/xx.js Where local is your “local config directory” and xx is the name of your particular card Then in the standard Sidebar UI go to Settings > Dashboards Click the 3 dots in the top Right Click Resources Click “+ Add Resource” in the URL section paste the location you noted earlier Capture34

As an example ill use the Surveillance-card /local/community/surveillance-card/surveillance-card.js Ensure that “Resource type” - JavaScript Module - was Auto selected (if not select it) Then click create. Your card should be usable at that point. image

This is a silly thing to do for something that should be automatically picked up and detected and has been in the past. Not sure what broke in OS version 10.2, but having to manually enter these is annoying.

shodushi commented 10 months ago

I fixed mine with: https://github.com/UI-Lovelace-Minimalist/UI/issues/1302#issuecomment-1808771294