Shelly PM1 to get inverter data to HASS energy dashboard

Hi I’m trying to get my inverter data to HASS. As I have an old inverters I haven’t found a solution to get the data into HASS. Instead I would like to use a Shelly PM1. Which partialy works. I get the entity data on power and energy, but in the energy dashboard It show O power delivered.



any suggestions how to fix this?

sometimes, just being patient is the answer: