custom-cards / bar-card

Customizable Animated Bar card for Home Assistant Lovelace
MIT License
364 stars 52 forks source link

[Feature request] Several bars on same entity #153

Open Matssa56 opened 1 year ago

Matssa56 commented 1 year 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!