SolarEdge binding, aggregate_day#production and unit?

Hi,

I have been using the SolarEdge binding for a few years now. I think back in the days when I set up my items, the unit for the aggregate_day#production channel was set to “Tagesproduktion [%.2f kWh]”.

At least for the past few months I noticed that whenever the aggregate daily production was below 1 kWh, the item would always show something like “600 kWh” when instead only 600 Wh were produced. As soon as 1 kWh is reached, the unit is correct.

I would have suspected the binding to return 0.6 for 600 (Wh), and not 600 when afterwards 1 kWh is returned as “1”? What am I missing here?