Hydreon RG-15 rain sensor

Today I noticed that the values from the sensors are passed from the sensor without the mm (or mm/h for the flow rate) unit, but the total rainfall value has the kWh unit. Since the sensors payload does not supply the unit of measurement, the HA integration seems to be the problem. I’m trying to figure this out, any suggestions on where to look are highly appreciated.
Tasmota RG15

well that was easily fixed: Unit of measurement - #2 by tom_l

This is how it looks after applying the fix for all sensor entities:
Tasmota RG15 fixed