I use the YAML integration sensor for converting my electricity meter readings to kWh, so I tried to change it over to the new Riemann sum integral helper in 2022.4. However, it displays the units as kkWhh instead of kWh:
The settings I used for the helper were Left Riemann sum, Precision = 2 decimals and Metric prefix = k(kilo).
I know that this question is older than 2 years but I recently ran into the exact same problem (kkWhh) after adding the Riemann sum Integral - Home Assistant. It was caused by a wrong combination of units of the input sensor (kW) and the unit_prefix (k) of the intergral sensor.
Changing kW to W of the input sensor worked for me.
it’s not the combination but kind of wrong impression given by UI. I did the same mistake, so my friend did it too. The guidance given by GUI is misleading.
In GUI it’s called a prefix and one might think it’s the prefix which appears in source sensor. It’s not. If you have a source sensor in kW and want result in kWh, don’t provide any prefix
I suppose it might be used to scale the result. It should be called like this (show result in kWh, MWh etc) instead of enter a prefix.