I’ve been using this card for a while but it seems 2023.5 breaks it. I tried the beta but rolled back when I saw the issue. Anyone having issues with this after the latest May update?
During the pre-2023.5 releases we got warned about the Polymer component that is listed for deprecation.
If you check your logs you may find:
Logger: frontend.js.latest.202305031
Source: components/system_log/__init__.py:257
First occurred: 10:11:54 AM (1 occurrences)
Last logged: 10:11:54 AM
https://hass.<domain>/local/custom-fan-card.js:1:29 Uncaught ReferenceError: Polymer is not defined
In the dashboard it shows:
I think we have to come up with another custom JS file to make the buttons work for the fans.
Here is a HACS repo with a 6 speed button row for Modern Forms fans. I simplified the code quite a bit so it could be easily modified if need be. Let me know if this helps.
Hey BrianHumlicek,
thanks for the repo! I haven’t gone into depth on programming in Home Assistant, do you have any scripts written for this? Also, do you have to create any templates? I tried creating a fan template but i’m getting confused with interacting your code and the template. Any help would be greatly appreciated!