Hi all, have any of you come across an error like this? For the last few days my HA energy readings have gone haywire:

On each of the affected days there is this big (negative) spike followed by much smaller values through the day:

- This coincides suspiciously with my upgrade is GivTCP at the weekend from 2.4.9 to 3.0.4 (which solved some problems I was having with Predbat);
- I've been through the process of clearing out some duplicate values using MQTT Explorer, so I don't think it's that (the problematic values there were all battery-related);
- I've checked that all the sensors in the Energy dashboard configuration are correct, and reassigned them, but no change;
- Looking at each individual entity, the values in each cumulative sensor all look perfectly sensible;
- It looks to me like it could be just a slight timing/synchronisation error, where the day's value is just catching the peak value reached the day before and incorporating it into the next day's stats, hence the large negative spike as the sensor resets to zero. It seems to me that whether the last and first messages of each day were sent at 23:59:59, 00:00:00 or 00:00:01 could make all the difference...
Any thoughts as to how to address this?
Thanks very much,
Jo












