Can't see a sensor with class total_increasing for energy dashboard

In my configuration I have a sensor “Production today” with class total increasing :

image

I want use it for energy dashboard, but this sensor isn’t in the list.
What can be a reason ?
Whot I’m doing wrong ?
Thank you

They are both power sensors. Not energy sensors. Energy is measured in Wh or kWh.

Simply adding the device class state class does not change this fact.

Alternatively if that second sensor is actually an energy sensor then it has the wrong unit of measurement.

Yes, second sensor named “Production today” is day production counter.
So I think unit_of_measurement is kWh.