tdvtdv / ha-tdv-bar

A Home Assistant lovelace card to display bar chart oriented to display power sensors
51 stars 1 forks source link

Suggestion: different rangemax for different entity #5

Open bluesaturnx94 opened 4 months ago

bluesaturnx94 commented 4 months ago

If possible, could you please add function that I can define different rangemax for different entity?

tdvtdv commented 4 months ago

The idea was to keep the same scale for all entities. Now in Pull request there is an addendum proposed by akropp in which he added this feature, but I am not sure whether it is necessary to do it yet. To be able to use entities with values of different magnitudes, a logarithmic scale is a good fit.

MikeatLorne commented 3 months ago

I support the idea of linear or logarithmic by entity if it can be done easily. Linear will fit my battery charge % and another entity that I have much better. However, log works great for the remaining entities