Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
Nickduino opened this issue Oct 7, 2024 · 0 comments
Open
2 tasks done

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

Nickduino opened this issue Oct 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Nickduino
Copy link

Nickduino commented Oct 7, 2024

Requirements

  • I have updated Mushroom to the latest available version
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant