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?