SHelly 1 pm inverts measured solar power

I have solar panels that are connected to my electricity grid through a Shelly 1 pm to measure the generated power and pass it on to my Homey system. I have indicated as the source for the device that it is a solar panel. The measured values of my solar panels should now be displayed in the ‘outer ring’ of the ‘Energy Tab’. That’s not happening. They appear in the inner ring. I understand that this is caused by Shelly passing on the measured values not negative to Homey. How can I ensure that those values are correctly entered in Homey? Or should I use other devices instead of Shelly to measure the generated power, and if so, which ones?

Thanks ,