piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily
Apache License 2.0
3.73k stars 341 forks source link

[Feature]: Add battery indicator to lock card #668

Open thezboe opened 2 years ago

thezboe commented 2 years ago

Is your feature request related to a problem?

I like to be able to see the battery level of things in plain sight at all times so I can be aware when they are running low. The lock card is wonderful, except there isn't a way for me to see the battery status of the lock (what kind of smart lock doesn't run on batteries?).

Describe the solution you'd like

  1. Add a battery icon with an optional battery entity option for easy viewing.
  2. Allow templating on the main or secondary lines so I can just put the battery percentage on one of those lines.

Describe alternatives you've considered

The only other way would be to recreate the existing lock card as a template card, which somewhat defeats the point.

Additional context

No response

KJThaDon commented 1 year ago

Is your feature request related to a problem?

I like to be able to see the battery level of things in plain sight at all times so I can be aware when they are running low. The lock card is wonderful, except there isn't a way for me to see the battery status of the lock (what kind of smart lock doesn't run on batteries?).

Describe the solution you'd like

  1. Add a battery icon with an optional battery entity option for easy viewing.
  2. Allow templating on the main or secondary lines so I can just put the battery percentage on one of those lines.

Describe alternatives you've considered

The only other way would be to recreate the existing lock card as a template card, which somewhat defeats the point.

Additional context

No response

Did you ever find a solution? Looking to do this also