Unable to select sensor for Home Battery Storage in energy config

So i created my own sensors which calculate charged amount of energy and discharged, both numbers are positive and calculated based on power with integration helper. But i cant select it in energy configuration tab for battery part.
Here is picture with state. Event try to add utility meter but no luck

I don’t remember if it’s relevant, but the unit_of_measurement should be Wh, not “Watth”

You right thanks, this was exactly the problem