kalkih / mini-graph-card

Minimalistic graph card for Home Assistant Lovelace UI
MIT License
2.85k stars 231 forks source link

Extrema option doesn't account for unit changes #1060

Closed theanorak-keith closed 5 months ago

theanorak-keith commented 5 months ago

A question: I'm using mini-graph-card for a weather dashboard but decided to switch the unit of measurement for windspeed after setup. The graph and value update correctly (i.e. use the new unit and the converted value) but the extrema display just updates the units without converting the values.

Is this a (minor) issue with the mini-graph-card or a product of underlying functionality?

ildar170975 commented 5 months ago

All graphs in HA work same way. Even a standard history-graph. Changing UoM does not cause changing a history.

Next time - whenever you have an issue with mini-graph-card - check with history-graph as well.

ildar170975 commented 5 months ago

Close the issue if resolved.

theanorak-keith commented 5 months ago

Ah, ok. Thanks.

ildar170975 commented 5 months ago

Actually, this is a duplicate of https://github.com/kalkih/mini-graph-card/issues/945 That is not closed yet since I opened an issue against a standard history-graph. If the standard card is updated - then we'll probably consider that issue for mini-graph-card.