This morning I updated my HA to 2023.5.2 and two things happened.
- Ecowitt no longer works
- fan-percent-button-row could not find the custom card
It looks like the Ecowitt issue need more investigation but after some time I found this on github
[Incompatibility with home assistant 2023.05 beta - Custom element doesn’t exist: fan-percent-button-row. · Issue #39 · finity69x2/fan-percent-button-row
https://github.com/finity69x2/fan-percent-button-row/issues/39
I followed @hansmets comment
I actually added shmuelzon/fan-percent-button-row in HACS as a custom repository and installed it directly from HACS (I first removed the old polymer version). It then even shows the updates and clears the cache for you.
After I did this the old fan-percent-button-row worked.
However the reverseButtons option did not work.
I don’t know why HA does not have a standard card similar to this for Fans. Those of us that live in the tropics (North Queensland Australia) use ceiling fans a lot.
A few hours later
I found a tweak to ecowitt
https://community.home-assistant.io/t/2023-5-lets-talk/567331/155
I did this and it worked.
Using HA file editor, go to “/config/custom_components/ecowitt/”
1.Open “__init__.py”
2. Edit line 21
from async_get_registry as async_get_entity_registry,
to async_get as async_get_entity_registry,
3. Save file.