swiss-army-knife-card icon indicating copy to clipboard operation
swiss-army-knife-card copied to clipboard

Card crashes

Open cryptooth opened this issue 1 year ago • 3 comments

Hi there,

v2.4.1 installed.

Home Assistant 2023.5.2 Supervisor 2023.04.1 Operating System 10.1 Frontend 20230503.3 - latest

everything seems to be working normally. When I change Theme from my user profile and go back again, all the cards crashed.

This is the error it gives:

r.setConfig is not a function. (In 'r.setConfig(t)', 'r.setConfig' is undefined)

I also see the following error in the HA log.

Logger: frontend.js.latest.202305033 Source: components/system_log/init.py:257 First occurred: 11:25:54 AM (272 occurrences) Last logged: 1:57:44 PM

https://XXXXXXX/hacsfiles/swiss-army-knife-card/swiss-army-knife-card.js:468:2513 Uncaught TypeError: Cannot read properties of undefined (reading 'style') https://XXXXXXX/sak-examples/sake1:0:0 Uncaught https://XXXXXXX/hacsfiles/swiss-army-knife-card/swiss-army-knife-card.js:696:76 Uncaught Error: card::get styles - System Templates reference NOT defined! https://XXXXXXX/lovelace-minimalist/0:0:0 Uncaught :0:0 Script error.

cryptooth avatar May 12 '23 11:05 cryptooth