You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I'm encountering an issue with the custom:swiss-army-knife-card in Home Assistant. After installation, the card fails to load and throws the following error in the browser console:
Error: n.setConfig is not a function
Additionally, I see another error related to define in the custom element registry:
Error: Failed to execute 'define' on 'CustomElementRegistry': the name "swiss-army-knife-card" has already been used with this registry
This happens in Chrome 132.0.0.0 on Windows 10, using Home Assistant (core version [your HA version]).
Steps to Reproduce:
Install swiss-army-knife-card via HACS.
Add the card to a Lovelace dashboard.
Reload the dashboard or restart Home Assistant.
The card fails to render, and the error appears in the console.
Expected Behavior:
The card should load properly without throwing errors.
Additional Information:
Home Assistant Core Version: 2025.2.4
swiss-army-knife-card Version: 2.5.1
Browser: Chrome 132.0.0.0
Operating System: Windows 10
Installation method: HACS
Possible Causes & Troubleshooting Tried:
Verified that the correct file is being loaded from /hacsfiles/swiss-army-knife-card/swiss-army-knife-card.js.
Cleared browser cache and restarted Home Assistant.
Ensured no duplicate installations of the card exist.
Checked for conflicts with other custom cards.
Would appreciate any insights or a fix for this issue. Thanks!
The text was updated successfully, but these errors were encountered:
Description:
I'm encountering an issue with the custom:swiss-army-knife-card in Home Assistant. After installation, the card fails to load and throws the following error in the browser console:
Error: n.setConfig is not a function
Additionally, I see another error related to define in the custom element registry:
Error: Failed to execute 'define' on 'CustomElementRegistry': the name "swiss-army-knife-card" has already been used with this registry
This happens in Chrome 132.0.0.0 on Windows 10, using Home Assistant (core version [your HA version]).
Steps to Reproduce:
Install swiss-army-knife-card via HACS.
Add the card to a Lovelace dashboard.
Reload the dashboard or restart Home Assistant.
The card fails to render, and the error appears in the console.
Expected Behavior:
The card should load properly without throwing errors.
Additional Information:
Home Assistant Core Version: 2025.2.4
swiss-army-knife-card Version: 2.5.1
Browser: Chrome 132.0.0.0
Operating System: Windows 10
Installation method: HACS
Possible Causes & Troubleshooting Tried:
Verified that the correct file is being loaded from /hacsfiles/swiss-army-knife-card/swiss-army-knife-card.js.
Cleared browser cache and restarted Home Assistant.
Ensured no duplicate installations of the card exist.
Checked for conflicts with other custom cards.
Would appreciate any insights or a fix for this issue. Thanks!
The text was updated successfully, but these errors were encountered: