Adding a 'measurement' entity to Energy dashboard

Hi there, I’m trying to add a Tuya power strip power consumption to the Energy dashboard as a standalone device. The sensor doesn’t show up becacuse I guess its type is ‘measurement’, and following the documentation the Energy dashboard only supports a state_class ‘total’ or ‘total_increasing’

I’m trying to “convert” it with a Meter helper but it won’t show up either. Is there any way to get this working?

It does not show up because it is a power sensor not an energy sensor. Energy dashboard (not power dashboard).

You need to convert it with this:

Be sure to read the sectoin on method to minimise approximation errors.