custom-cards / circle-sensor-card

A custom component for displaying sensor values as cards or elements
Apache License 2.0
174 stars 23 forks source link

[Feature request] Using entity icon/custom icon instead of name #20

Open pejotigrek opened 4 years ago

pejotigrek commented 4 years ago

I'm preparing a circle-sensors packed vertical line in my lovelace UI and unfortunately I've noticed, that not every name is fitting into the circle. I tried to add emojis instead of names [especially when the name of the sensor is just too long], but having nice material design, single-color icons in whole interface, and next to it - few sometime strangely looking, multi-color emojis just doesn't look good ;)

unfortunately I'm not a programmer, so can't figure out how to extend your card code, so all I'm able to do is give an example configuration options ;)

now, we can specify optional name for the circle-sensor, it would be cool to have optional parameter something like:

what's important - setting up the icon option would override the name option, so there's no possibility to have them both displayed (for sake of limited space).

do you think it would be possible to do?

edit: wording

knogler commented 4 years ago

that would be really awesome