-
-
Notifications
You must be signed in to change notification settings - Fork 372
[Bug]: mushroom-template-badge #1613
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
Comments
Currently been having the same issue, did you manage to figure out what is causing it? |
This is similar to #1495 , I tried resetting the cache and It seems to fix it for a bit and then it comes back to saying Custom element doesn't exist: mushroom-template-badge. Unsure what is causing this, but hard resetting the cache seemed to help a few times but then it breaks again? |
Perhaps this log might help, I am seeing this with Edge, Chrome, and Firefox browsers, but here I captured from the edge browser: Uncaught error from Edge 134.0.0.0 on Windows 10 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "mushroom-select" has already been used with this registry window.CustomElementRegistry.define (src/scoped-custom-element-registry.js:44:14) /hacsfiles/lovelace-mushroom/mushroom.js:23:126 Ur (/hacsfiles/lovelace-mushroom/mushroom.js:1:15072) /hacsfiles/lovelace-mushroom/mushroom.js:286:46391 |
More logs from different browser: Uncaught error from Firefox 136.0 on Windows 10 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "mushroom-select" has already been used with this registry 72311/</window.CustomElementRegistry.prototype.define (src/scoped-custom-element-registry.js:44:14) Za/< (/hacsfiles/lovelace-mushroom/mushroom.js:23:126) Ur (/hacsfiles/lovelace-mushroom/mushroom.js:1:15072) /hacsfiles/lovelace-mushroom/mushroom.js:286:46391 Removing lovelace-mushroom-better-sliders seems to resolve the issue for me, please confirm |
Requirements
Current Behavior
Sometimes when I load up a dashboard (maybe 70% of the time), it shows an error that
Custom element doesn't exist: mushroom-template-badge.
Expected Behavior
To show template badge and work fine
Steps To Reproduce
Load up dashboard where a custom:mushroom-template-badge exists
Context
type: custom:mushroom-template-badge
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: