Kostal_plenticore integration create solar power entity for dc1 and dc2 string

The problem

The solar power entity sums up all DC strings. When using a Plenticore with attached battery on DC3 the solar power sum doesn’t reflect the correct output of the solar strings DC1 + DC2. A calculated entity that sums up only DC1 and DC2 would be great.

What is version of Home Assistant Core has the issue?

2022.11

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Kostal Plenticore

Link to integration documentation on our website

Example YAML snippet

template:
  - sensor:
      - name: "Power from PV DC1 DC2"
        unique_id: power_from_pv_dc1_dc2
        state: >-
          {{ 
            [ states('sensor.inverterps_dc1_power'), 
              states('sensor.inverterps_dc2_power'),
            ] | map('float') | sum
          }}
        availability: >-
          {{ 
            [ states('sensor.inverterps_dc1_power'), 
              states('sensor.inverterps_dc2_power'),
            ] | map('is_number') | min
          }}
        unit_of_measurement: W
        device_class: energy
        state_class: total_increasing