scheduler-card icon indicating copy to clipboard operation
scheduler-card copied to clipboard

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

Open ridderr opened this issue 7 months ago • 9 comments

Checklist

  • [X] I checked for similar existing issues (both open and closed) before posting.
  • [X] I will participate in further discussion about this issue and can help by testing (if requested).

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)

ridderr avatar Jul 08 '24 11:07 ridderr