We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
Thank you for creating your first issue for the Swiss Army Knife custom card!
Sorry, something went wrong.
I haven't seen crashes yet while changing the theme, but I know sometimes a refresh is required to get all the new colors in place.
In this case, however, I see that the card can't find/load its system templates. That is indeed fatal to render the card.
I have no idea what lovelace-minimalist is, and what it has to do with NOT able to load the system templates.
I just clear my HA resources. Cards still getting error.
Here is the HA log:
Logger: frontend.js.latest.202305033 Source: components/system_log/init.py:257 First occurred: 4:22:59 PM (26 occurrences) Last logged: 4:27:30 PM
https://XXXXXXXXXX/hacsfiles/swiss-army-knife-card/swiss-army-knife-card.js?hacstag=214786112242:898:1611 Error: card::get styles - System Templates reference NOT defined!
BTW: my YAML configuration is "storage"
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: