nielsfaber / scheduler-card

HA Lovelace card for control of scheduler entities
GNU General Public License v3.0
873 stars 111 forks source link

Failed to execute 'define' on 'CustomElementRegistry': the name "button-group" has already been used #824

Open ridderr opened 2 months ago

ridderr commented 2 months ago

Checklist

Card Version

V3.2.13

Component Version

V3.3.4

Bug description

I do get some errors in the logfile. I'm not aware I had these errors with the previous release of the Scheduler Component.

Steps to reproduce

No steps known. They just appears (at least for me)

Additional info

Logger: frontend.js.latest.202407030 Source: components/system_log/init.py:333 First occurred: 07:29:45 (3 occurrences) Last logged: 09:12:25

Uncaught error from Chrome 126.0.0.0 on Windows 10 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "button-group" has already been used with this registry window.CustomElementRegistry.define (src/scoped-custom-element-registry.js:44:14) /hacsfiles/scheduler-card/scheduler-card.js:43:68 /hacsfiles/scheduler-card/scheduler-card.js:43:83 t (/hacsfiles/scheduler-card/scheduler-card.js:15:334) /hacsfiles/scheduler-card/scheduler-card.js:275:847 /hacsfiles/scheduler-card/scheduler-card.js:1998:295 Uncaught error from Chrome 126.0.0.0 on Windows 10 TypeError: Cannot read properties of undefined (reading '_leaflet_pos') _leaflet_pos (src/dom/DomUtil.js:247:11) getPosition (src/map/Map.js:1488:9) _getMapPanePos (src/map/Map.js:1505:66) _getNewPixelOrigin (src/map/Map.js:1224:27) _move (src/map/Map.js:1726:7)

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

ridderr commented 1 month ago

Still an issue at my side. Any ideas how to solve?

raspB975 commented 1 month ago

I have the same error in the logs

apocaliss92 commented 2 weeks ago

Hi, there is a similar issue for the component settings-row, would it be possible to use specific names for this component? this is breaking already 2-3 components