Energy dashboard: not show a sensor in choose menu

Good morning everyone. This is my first post and I am new to installing Home Assistant (Docker - QNAP). So I ask you to be patient because I have to learn :slight_smile:
I have already read the discussions about my problem but I have not been able to find the solution.

I have photovoltaic panels with a storage battery from Huawey. I managed to match everything and I see the graphs and all the other things.

Unfortunately in the “Energy” dashboard, when I go to insert the sensor that measures the “instantaneous” production of the photovoltaic panels…the sensor is not in the drop-down menu.

I checked and as an entity I see it and it works (I attach a screenshot).

How do I integrate it into the energy dashboard?

Thanks

Schermata 2025-01-17 alle 10.46.41


Energy dashboard accepts only energy sensors. Unit has to be kWh.

“sensor.inverter_potenza_in_ingresso”

state_class: measurement
unit_of_measurement: kW
device_class: power
friendly_name: Inverter Potenza in ingresso
is not a energy sensor?

Can I change it in sensor?
Can I change it in kWh?

BTW: is there any solution?
Thanks

See here:

https://gist.github.com/langestefan/acbf7e42b15b302e9aacc08663039e57#3-i-have-a-power-entity-but-the-energy-dashboard-only-accepts-energy-entities-how-can-i-use-it

Wow, thanks!
I try

Thanks a lot.

If positive I mark as solution.

OMG…i’m confused.
Maybe solution #2 #3 and #9

Sorry but I’m quite ignorant.
I tried to follow the guide but nothing. I can’t do it alone.
It seems simple, but it’s not at all.