Added Tuya smart plugs - where is the energy monitoring?

Hi, thanks for this. I have added my plug and got those aspects seen under the Plug’s “Attributes” and report correctly. But I cannot see them as Sensor Entities which would allow me to do Automations via the Lovelace UI. How do I get the Attributes to appear as Sensors?

Amazing! This works perfectly. I have wasted hours trying to figure out why the Riemann sum calculation was incorrect and how to get the total consumption directly from the device. Your custom component is working well! Please consider adding it to HACS?

1 Like

Awesome, this also did the trick for me. Now try to get smart how to build a nice and tidy dashboard.

Thanks! works for me!

I’m really confused with my Nedis Wifi-plug showing different consumption values in the Tuya app and in HA. Yesterday for example shows 6,49kWh in the app and 7,93kWh in HA. Power/voltage is 100% the same for the moment, but I can’t get the Riemann-consumption sensor working. Any suggestions?

1 Like

This was very helpful. Now I can get those data inside of Home Assistant.

Thank you so much for doing this. As a newbie to HA, this was so so helpful!

1 Like

Hello,

Thank you man !
I was working for 2 days for this ,and I didn`t succes.
Thank you again !!!