Adding - platform: integration with confusing results

Hello to all,

I have added two times a - platform: integration one is working and one is not working. First is working.
That is really confusing to me, because both are directly next to ech other in the configuration yaml.
In both cases the source has a value with unit “W”.

  # inverter 1

  - platform: integration
    source: sensor.input_power_with_efficiency_loss_inverter1
    name: "solar_energy_yield_riemann_inverter1"
    unit_prefix: k
    unit_time: h
    round: 3

  # inverter 2

  - platform: integration
    source: sensor.input_power_with_efficiency_loss_inverter2
    name: "solar_energy_yield_riemann_12k_inverter2"
    unit_prefix: k
    unit_time: h
    round: 3

sometimes it helps to put the thoughts in words. The source was automatically created by HA and it was not …inverter2 it was …inverter2_2.