RCT Power Battery provides no "capacity info" (in evcc mqtt) - wrong total SOC
Describe the bug
Situation:
I have two battery systems:
- Battery 1 -> RCT Power -> configured by Template
- Battery 2 -> custom configured
Due to the fact that the RCT Power Battery reports no "Capacity" defined (see mqtt outut) the calculated SOC on evcc screen (derived from Battery 1 -> RCT Power (4 Packs means 6.9 kWh/90%) and Battery 2 -> Capacity 3.7 kWh/90%) will show the wrong value, because you must use the weighted capacity of each battery. You cannot calculate the total SOC using the only the single SOCs of both batteries.
Is it a bug that RCT Power Power provides no Capacity value and so the total SOC cannot be calculated at the end?

evcc shows 25% SOC of all batteries

Calculation should be:
Battery1: 9,3% SOC * 6.9 kWh = 0,642 kWh Battery 2: 23% SOC * 3,7kWh = 0,851 kWh
SOC total (to be displayed in evcc) = (0,642 kWh + 0,851 kWh) / (6.9 kWh + 3,7kWh) = 1,493 / 10,6 = 14,1%

Steps to reproduce
- see description above 2. 3. ...
Configuration details
meters:
- name: my_rct_grid
type: template
template: rct-power
usage: grid
host: 192.168.178.xx
- name: my_rct_pv
type: template
template: rct-power
usage: pv
host: 192.168.178.xx
- name: my_rct_battery
type: template
template: rct-power
usage: battery
host: 192.168.178.xx
...
- name: my_bluetti_battery
type: custom
power: # power (W)
source: mqtt # plugin type
topic: bluetti/state/AC200M-2236008116154/dc_output_power
timeout: 15s # don't accept values older than timeout
# scale: 0.001 # floating point factor applied to result, e.g. for Wh to kWh conversion
scale: 0.9 # negativ "charging"; positiv "discharging" - 90% efficiency after inverter
soc: # optional battery soc (%)
source: mqtt # plugin type
topic: bluetti/state/AC200M-2236008116154/total_battery_percent
timeout: 15s # don't accept values older than timeout
capacity: 3.7
Log details
[site ] DEBUG 2023/02/24 09:43:53 battery 1 power: -630W
[site ] DEBUG 2023/02/24 09:43:53 battery 1 soc: 10%
[site ] DEBUG 2023/02/24 09:43:53 battery 2 power: 0W
[site ] DEBUG 2023/02/24 09:43:53 battery 2 soc: 23%
[site ] DEBUG 2023/02/24 09:43:53 battery soc: 26%
[site ] DEBUG 2023/02/24 09:43:53 battery power: -630W
[site ] DEBUG 2023/02/24 09:43:53 grid power: 4W
What type of operating system are you running?
Linux -> Home Assistant hassio (docker!?)
Version
0.112.5 No response
capacity is missing at your battery meter definitions.