lovelace-mushroom icon indicating copy to clipboard operation
lovelace-mushroom copied to clipboard

[Feature] Template card: allow for a numeric value in badge_icon

Open Nickduino opened this issue 4 months ago • 0 comments

Requirements

  • [X] I have updated Mushroom to the latest available version
  • [X] I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?

Nope

Describe the solution you'd like

I'd like to be able to display a numeric value (from templating) in a badge:

image

Describe alternatives you've considered

For numbers 0 to 10, there are material design icons available: image

...but they are minuscule :-/

Additional context

I have two use cases in mind but there are probably many others:

  • have an icon control a group of light, show the number of lights that are turned on (or the brightness value) in the badge
  • have lightning detector: show the number of lightning recorded (or the distance of the last record) in the badge

Nickduino avatar Oct 07 '24 17:10 Nickduino