Giant energy usage spike after adding virtual energy meter

Today I added my heatpump energy meter as virtual energy meter.

The kWh counter was not 0 because the meter is already measuring for a few months.

As a result I get a massive energy usage spike.

Can this be prevented without resetting the kWh meter (which causes other issues in my home domotic system)?

You should not initialize the virtual meter with defaults (checkbox). That will make the meter start with “0” and then, when the real value comes in, results in a consumption spike recorded. (Upon every gx reboot / Nodered deployment, btw.)

Thank you, I deleted the heatpump in node red and in devices of vrm. After that I added the virtual meter heatpump again with defaults disabled. But unfortunately the spike yesterday remains.

Can I somehow remove this spike?

Incorrect readings can unfortunately not be removed.