GoodWe inverter measurments to Energy panel

Hi

I’m new here and I don’t really know how to ask the question, but I’ll try.

I have a GoodWe solar inverter and I want to include the energy management into the Energy Panel of HA. I tried the official integration GoodWe Inverter and stopped working a few moments later. So I decided to give a try to the HACS integration SEMS Portal.

I now can have the current generation of my Solar Panels, in W. But I can’t add this measure to the Energy Panel… On the “Add generation” part, I have to enter a state with kWh.

Firstly. I don’t understand why I have to put it in kWh because my inverter gives me W in real time.

So, I did this:

template:
  - sensor:
      - name: "Solar Generation"
        unit_of_measurement: "kWh"
        state_class: total_increasing
        device_class: energy
        state: "{{ states('sensor.inverter_inversor')|float / 1000}}"

Now I can add this to the Energy Panel, but it does something very strange:

And this is impossible. I don’t produce 7,21kW. I want the graphic and data to be realistic and I don’t know what am I doing wrong.

I don’t know either how can I extract my consumption information from that integration.

Any help will be appreciated.

Thanks in advance

PD. Sorry for my bad English.

image

This is what it shows my three-way graphic