GivTCP Energy - charge_energy_total is not being updated

Hi,
I’m pretty new in this, so sorry if this is a dumb question…
I have an automation that monitors the battery total charge energy and total discharge energy to keep tabs on the cost of the energy currently in the battery.
However, this week the automation failed because the “sensor.givtcp_xxxxxx_battery_charge_energy_total_kwh” has stopped updating, even thought he battery is being charged daily.
Any suggestions what might have gone wrong and how to cure this?

Looing a little deeper, I see that the current reported status of the charge_energy_total has jumped up by an impossible amount in just a few days (~1200 kWh!). This may be related to why it has stopped increasing by the normal 10-12 kWh daily.
I need to find a way to get the real battery charge total restored against this entity.