So I have this wifi smart plug that’s used to monitor the electricity production of a couple of PV panels. I was able to add them to HA using the TUYA integration. But this does not seem to be very stable. I therefore wanna use the localtuya integration. While I was able to add the sensor, I don’t know how to define its class as ‘power’ to use it in the energy dashboard.
I don’t find any point in the process that allows to define the class. How could I do that?