pkissling / clock-weather-card

A Home Assistant Card indicating today's date/time, along with an iOS inspired weather forecast for the next days with animated icons
Other
309 stars 66 forks source link

Error: Failed to execute 'define' on 'CustomElementRegistry': the name "action-handler-clock-weather" has already been used with this registry #409

Open Chaoscontrol opened 1 week ago

Chaoscontrol commented 1 week ago

Checklist:

Release with the issue: 2.8.0

Last working release (if known): N/A

Browser and Operating System: Chrome, Windows 11 (unsure why the logs say Windows 10, I don't have any)

Description of problem:

Since updating to HA 2024.7, this error started showing in HA logs. Card seems to work fine in the meantime.

Logger: frontend.js.latest.202407030
Source: components/system_log/__init__.py:333
First occurred: 3 July 2024 at 22:29:13 (13 occurrences)
Last logged: 09:36:28

Uncaught error from Chrome 126.0.0.0 on Windows 10 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "action-handler-clock-weather" has already been used with this registry window.CustomElementRegistry.define (src/scoped-custom-element-registry.js:44:14) /hacsfiles/clock-weather-card/clock-weather-card.js:175:2352
Uncaught error from Chrome 126.0.0.0 on Windows 10 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "action-handler-clock-weather" has already been used with this registry window.CustomElementRegistry.define (src/scoped-custom-element-registry.js:44:14) /hacsfiles/clock-weather-card/clock-weather-card.js:180:2352
Uncaught error from Chrome WebView 126.0.6478.134 on Android 11 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "action-handler-clock-weather" has already been used with this registry window.CustomElementRegistry.define (src/scoped-custom-element-registry.js:44:14) /hacsfiles/clock-weather-card/clock-weather-card.js:180:2352

Javascript errors shown in the web inspector (if applicable): https://xfiles.s-ul.eu/jqV08zOo

Additional information: