piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily
Apache License 2.0
3.48k stars 325 forks source link

[Feature]: Vacuum cleaner charge level #456

Open warbringer opened 2 years ago

warbringer commented 2 years ago

Is your feature request related to a problem?

The vacuum cleaner card doesn't have an option to show the charge level of the robot vacuum cleaner. afbeelding

Describe the solution you'd like

Much like the media card has an option for showing the current volume, I'd suggest a similar option for the vacuum card to show the current charge.

Describe alternatives you've considered

afbeelding

I've been using the vacuum card so far but it's too big and clunky for my purposes. It does however, have the charge level indicator. A similar thing could be applied to the mushroom vacuum card.

Additional context

Thank you for your work and the great cards for home assistant! Your next coffee is on me 👍

Siege36 commented 2 years ago

I think a more versatile option would be awesome. Similar to the entity card has "primary/secondary information" I would be nice to have it accept a template. This request is basically the same as mine, only I would like to show last clean information which comes from a different entity. Giving the ability for the vacuum card (or any card) to display template instead of the state would solve both issues.