custom-cards / bar-card

Customizable Animated Bar card for Home Assistant Lovelace
MIT License
379 stars 54 forks source link

[Feature request] Several bars on same entity #153

Open Matssa56 opened 2 years ago

Matssa56 commented 2 years ago

Hi!

I have an electric car and the battery left is in percentage and in bars. My car shows 8 bars for the whole battery. The idea is to use this bar card in order to show my 8 bars which is a lot easier to read than the percentage (we know that 1 bar is about 30/40km, so it's quick to guess if the charge is enough in case we want to use it).

Is there a way to add a column variable so that it shows x bars next to each other? The card will also need to calculate the percentage per column and therefore fill the bar accordingly. Also, the percentage should appear on the bar that is currently changing. Here is what I have in mind 👍

image

Thanks for your feedback!