How do I change a history value of an entity

So had an engineer working on my growatt batteries and during a firmware update the battery reported being 2100% charged!

image

It was for 1 minute but this has now screwed up the scaling of the charge history graph.

How do I edit this history value to make it a normal value.