ha-tdv-bar icon indicating copy to clipboard operation
ha-tdv-bar copied to clipboard

Add range (min/max) and scaletype (linear/log10) to entity configuration

Open akropp opened this issue 1 year ago • 3 comments

Modified it to allow rangemax and scaletype on individual entities to override the global settings at the top level.

Also added a rangemin parameter (both global and on the entity). Right now, this only applies to scaletype=linear, because it doesn't really make sense for log scales.

akropp avatar Feb 28 '24 17:02 akropp

I'm not sure it was worth it to make individual range adjustments. They should all be displayed on the same scale

tdvtdv avatar Feb 29 '24 09:02 tdvtdv

It is worth to make individual range (min/max) adjustments. Example: electric consumpion day / week / month. the scales are very different.

bey0099 avatar Mar 11 '24 23:03 bey0099

Yes, I definitely found the need to set them individually. I added them both globally and individually, so you don't have to, but have the option.

--Adam

On Mon, Mar 11, 2024 at 7:49 PM bey0099 @.***> wrote:

It is worth to make individual range (min/max) adjustments. Example: electric consumpion day / week / month. the scales are very different.

— Reply to this email directly, view it on GitHub https://github.com/tdvtdv/ha-tdv-bar/pull/4#issuecomment-1989652268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHIXJVMIHPYCWNKABX4RVMLYXY7JDAVCNFSM6AAAAABD6NU2R2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBZGY2TEMRWHA . You are receiving this because you authored the thread.Message ID: @.***>

akropp avatar Mar 12 '24 14:03 akropp