Tuya KWH solar production

Hello everyone !

i bought a sunology solar pannel.
it comes with a tuya device to track the energy.

I successfully added this device to HA, but Tuya seems to feed HA with only Watt usage…
The smartlife mobile application show a kwh entry which is not discovered in HA.

I wanted to add my device to the energy dashboard, which seems to need a kwh entry.

So i tried a few things to convert this Watt entry to kwh (using utility meter), and read some posts talking about “computing” this value, but so far i was unable to do something readable by the dashboard.

How can i :

  • Get the KWH value from tuya (if it is really published ? )
  • easily transform this W value to KWH for the dashboard

Really thanks for your help and time, have a nice day everyone