Energy Dashboard shows negative grid and solar values when monitor device reset

Hi

I am reporting every minute energy values via MQTT from my custom monitor device to HomeAssistant. Every minute the monitoring device reports Total Consumed, Total Solar, Total grid - in watts, for that minute.

All was working fine and energy dashboard displayed the correct units, amounts, etc… until I had to reset the monitoring device to change the code. When the device was reset, the bars in the energy dashboard jumped to negative thus:

I am rather new to HA so any pointers would be appreciated!

P

Issue resolved…

I was reporting a DAILY accumulated value by mistake… So, when my monitor was reset so was the daily value…

P