-
Notifications
You must be signed in to change notification settings - Fork 445
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
Sporadic "custom element doesn't exist: grid-layout" errors #1047
Comments
these issues over in the HA Core kinda sound really similar:
Could be related to the time it takes to load/process the custom cards? I've got HA running as HA OS on a 2014 Mac Mini with 16GB RAM and connected by Ethernet cable, so latency shouldn't really be a problem :( |
Some more information from various tests i did:
This issue really perplexes me, it really smells like some kind of race condition of parallel loading/initialising modules, that in a certain "order" produce this error. |
@mneuhaus The problem as you describe it is most likely related to the cloud service nabu casa uses. Their cache can be different than on your local system. Sadly I dont have a direct solution for it. |
that may be one factor, yes, but it also happens sporadically using the local network as well |
I tried to look into the code itself a little bit as well, as far as i understand, there is already stuff in the core, that "should" work around race conditions of custom cards already by showing that "Custom element doesn't exist: " content, but replace it when that tag/module is loaded: |
new installation of UI Minimalist here and happening as well |
Pretty much the same as @focalfury. I just set it all up and seeing the exact same. |
This error exists for me to using version 1.1.6-hotfix and enabling the setting of |
My solution was to add all of the different resources to |
If you are using the "Include custom card resources it's depending on." option, then that is where the problem lies, with how they are including all the cards (I'm guessing). Simply disable that option and install all the resources manually and the problem completely vanishes. PS: It has nothing to do with cloud or remote access, this happens locally as well as remotely. |
@fjeddy That's not it. I installed all resources manually and didn't check on the option you mentioned and I'm still getting the same error msg as the OP on a fresh HA install. |
The list of lovelace resources shown on the prerequisites/installation pages at https://ui-lovelace-minimalist.github.io/UI/setup/download/ is incomplete: You'll also need these three lovelace resources: simple-weather-card |
Which versions does this affect? |
This fixed the 'grid-layout' problem for me. |
Not sure about simple-weather-card but later two are definitelly what was missing. Thanks! Edit: Just found this wiki page where exactly those two are mentioned. Not sure why they aren't under dependencies though. |
as @mmaas70, manually installing these 3 fixed the issue for me. Starting from scratch, I used the "Include custom card resources it's depending on." option but then I needed to manually install |
having same issue. |
@dreamonhigh Go into HACS > Frontend > Explore & Download Repositories and then search for them. Click Download to install. |
This solved the issue for me, particularly the layout-card one. Initially I selected the "Include all cards..." during setup, and HA froze, I had to restart from the host. So my 2 cents on this would be that update is needed for the Installation steps:
And also, a tip, the Readme page should also indicate that this dashboard works for Dark mode as well. Initially I didn't want to install it just because there was no image/indication of a Dark mode support, I think a lot of people prefer dark mode over pure white and bright dashboard. Thanks! |
Ok, i'm really fully lost at this point.
i'm trying to set up lovelace minimalist and in theory i've got it running but, sometimes it doesn't work when i try to open it with a browser and get the error: "custom element doesn't exist: grid-layout".
If i reload the page a few seconds later it works and i get the same error if i try to open the dashboard on the android app or if i try to cast that dashboard to a google hub.
I've installed everything through HACS.
I even tried a complete fresh home assistant installation and went through the install guide from scratch, ended up in the exact same behavior.
Any idea what else i could try or how i could debug this?
The text was updated successfully, but these errors were encountered: