jcwillox / lovelace-paper-buttons-row

Adds highly configurable buttons that use actions and per-state styling.
MIT License
284 stars 10 forks source link

No default icons for device_class: motion, door, connectivity... #79

Open Masterz69 opened 2 years ago

Masterz69 commented 2 years ago

Card just show image... as described here, f.e.: https://www.home-assistant.io/integrations/binary_sensor/

IMHO HA provide some API call to get default icon for every entity and it used in wide range of lovelace cards for now.

jcwillox commented 2 years ago

Seems to be a limitation of custom-card-helpers which is what I'm using to select the icon. The HA API sounds like a good alternative, do you have any examples of people using this or docs for it?