Tuya smart plug - wrong energy monitoring

Hi !

I have a problem with my tuya smart plugs. They are all connected over wifi. The total energy is not shown right. it is not total increasing, but the state class i total_increasing. In the tuya app on my smartphone it shows the correct power consumption.
I have also many shelly running and there the energy is increasing like it should…

Here some screenshots:

Now its acutally running but dont show a thing in homeassistant. Only in the tuya app??

I made an integralsensor and then it worked. but after a time it stopped.

So I changed the power sensor to localtuya and I found out with local tuya it works fine! Only the tuya integration is not good…

But now I have the problem that i can’t add new devices to localtuya