look, I know I cant force anyone, I can only report back what I am experiencing.
Which is, before (button-card) didn’t respect icons set by the device_class. It did however not block icons set by custom-ui (might not have ‘supported’ it actively, but it didn’t block it either)
Not sure which update it was (couldn’t find it in the release notes), and I might have skipped a version, but todays beta version changed all that for entities with a device_class set. It shows those icons, which is what many asked for (including me )
of course, what I didn’t ask for is by doing so, customizations are abandoned. Luckily, only those with a device_class feel this, all other entities are still customized nicely.
this shows it should at least be possible, this is all done in custom-ui:
switches:
and lights:
so, its not necessary start supporting that, you already do!
my only question was to not prevent it when handling device_classes.
on the custom-ui repo: yes it has been abandoned apparently by @andrey , unfortunately I must admit. Many many people still use it to much satisfaction. It might be out of order in this thread to discuss the need for a Lovelace replacement for custom-ui, but still, it really feels unsatisfactory to not be able to set (HA) global customizations for entities, and be forced to do so in each and every Lovelace card. Your button card offers templates to re-use, so is a miracle for my setup and many others, as we can all see here. I am so glad you made it to is current state, and it is one of the main cards in my setup period. Decluttering card helps too
But other than that, the templater cards of which we now have a few burden the system quite heavily (had to do away with monster card, template-card and card-templater for that matter)
And believe it or not, since I installed your current beta, I haven’t seen my Hue lights go unavailable yet, other than on LL refresh. So it has made an improvement in that department… Cant explain it technically other than by repeating what you said about updating all entities instead of the single button. Just reporting back here, testing the beta. Which I recommend, if only because of that!
update
hue went unavailable in the meantime… so, not yet perfect, but still, much improved, Ui still much more responsive indeed. think I can take back that I wrote earlier about the buttons responding slowly on tap. Where I had to wait quite some time before, they now act rather immediate. A true performance update.