Mini-graph-card: Max value displays NaN

Created on 1 Feb 2019  路  5Comments  路  Source: kalkih/mini-graph-card

This happens on the latest version - just installed the custom bundle an hour ago. It happens for all cards as you can see in the screenshot.

If more details are needed please let me know.

mini-graph-card-nan-issue

bug

All 5 comments

Thanks for the report.

most likely caused by history entries with unknown state, will fix this by ignoring NaN entries when calculating min/max.
It鈥檚 actually already done in the graph calculations, but must have missed it when calculating the extrema!

From https://community.home-assistant.io/t/lovelace-mini-graph-card/71385/131?u=kalkih

I can confirm I do have unknown states in the history list of those entities.

Thanks - I will wait for the next release.

Perfect, new release tonight hopefully.

New release out, should be resolved v0.2.1

I can confirm the issue has been fixed in v0.2.1.

Thank you very much.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Joezi79 picture Joezi79  路  4Comments

xstrex picture xstrex  路  7Comments

gerard33 picture gerard33  路  6Comments

yadenisenko picture yadenisenko  路  4Comments

WhistleMaster picture WhistleMaster  路  3Comments