Shelly 1PM Energy Meter wrong value

Hello Everyone.

I’m monitoring energy consumption of a heater with a Shelly 1PM.
I calculate daily and monthly cost etc …

This morning i had a huge spike in the energy sensor (kwh) but the power sensor (kW) is normal.
I had to manually recalibrate all my utility meter based on this sensor.

On the shelly interface, I don’t see that spike.
Has anyone had this behaviour ?

normal power consumption


Spike at 8h10 this morning

no spike here

Basicaly HA reported 123.08 kWh more than in reality

Thx a lot for your help

EDIT :
and well my correction are not working as the bult-in total increasing sensor revert automaticaly back to the wrong value, and thus all my utility meter corrections are reverted back as well

the sensor.radiateur_energy is at 160.08 kWh and should be at 36,99.
I tried :

  • deleted the 129.03 value in the statistic → no change to the sum
  • modify the state manualy in the “state” tab → revert back automaticaly and add 160.08 in the statistics
  • changed to 0 the 160.08 value in the statistic → no change to the sum

I’m lost here.
How can I change this value for this sensor ?

Anyone ?

For now i messed up my yaml to substract the value, but this is a very ugly solution