WHT tuya socket energy sensor missing

currently the tuya integration is missing the energy sensor for sockets, would be nice so we can include it in the energy dashboard.

I’ve already tried to include it for some models I’ve had and I realized that it’s not documented by Tuya and it’s not available in the API. So it was not possible to add it.

Unless I’ve misunderstood you, I have energy monitoring working on Tuya sockets here. Have you checked that the attributes aren’t hidden? I seem to recall that they are by default. Mine provide voltage, current and power and you can used the last of these and a helper to convert to energy.

Yes i have the current, power and voltage sensors. Have you compared the calculated and actual energy from the tuya app? I think it could be quite off.