Utility meter not showing even it is in kWh

I want to add a kwh sensor to the energy dashboard individual devices. However it’s not showing up as a possible device. Even though it’s in kWh. Why is that?

As you can see auto complete doesn’t show it

afbeelding

Nevermind I already know why this happens, apparently somehow in the database the unit type is set to None rather then kWh. And that’s why it isn’t doing what it is supposed to be doing. How this came to be seems strange however that’s why.