Negative values in energy dashboard

Hi there, I am feeding positive values to all my stats in energy dashboard, yet they are showing as negative, thus making some values non sense.

Look at “Energy to grid”. The sensor is measuring positive value, but the dashboard shows negative. What is worse is that the price calculation is then also non-sense.

Is it a bug or should I feed negative values to get positive numbers in dashboard?