custom-cards / bar-card

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

Indicador with negative values #181

Open sheaur opened 4 months ago

sheaur commented 4 months ago

The indicator does not work correctly when the value is negative, example rssi

sheaur commented 4 months ago

![Uploading 20240516_030600.jpg…]()

fwestenberg commented 2 weeks ago

This would indeed be very nice if possible. I use it for my electricity power meter, when the solar panels produce power I'd like the bar to show something negative. Something like this would be nice:

target: '0'
min: '-5'
max: '5'

At this moment, it results in:

image