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?
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?
Thank you so much for doing this. As a newbie to HA, this was so so helpful!
Hello,
Thank you man !
I was working for 2 days for this ,and I didn`t succes.
Thank you again !!!
Same here, thanks for the tip!
i do not get it… when i use this code i got:
Nested mappings are not allowed in compact mappings at line 1, column 13
Implicit keys need to be on a single line at line 1, column 13
A block sequence may not be used as an implicit map key at line 9, column 1
Implicit keys need to be on a single line at line 10, column 3
Implicit map keys need to be followed by map values at line 10, column 3
i really hate yaml…

