I found this weird mismatch between history and the aggregate_func: max Iโm using on my custom:mini-graph-card .
I have a wind sensor that sends the wind speed every second to HA. When comparing today what the history and the Max/avg graph displayed I found out that the MAX wind speed for today was above what history said:
That may be the case, however the line for the mini-graph does not appear to match whatโs in the more-info card. This leads me to believe that the mini graph card is not displaying the information correctly. Your mini-graph-card displays 2 humps, the larger hump being first. Your more-info popup, shows the larger hump 2nd with a flatish line beforehand. The fit line on the mini-graph-card should roughly match the more-info popup.
You can always create a statistics sensor on the information in question and have it match the duration displayed in the card. That will give you the min and max for that section pulled directly from the database. And this will confirm or deny issues with the mini-graph-card.