Liter per Hour or Day


I have 10.4.1 installed.

I have a sensor, which delivery “mm per minute” for rainfall.
So I get:

In different Intervals.

I want to display the total rainfall for a hour and a day.

Not sure how I has to create the feed.
He need to calc 2 values based on the timestamp … guess pretty similar as a power meter.

Could someone help with setting up the correct feed types?

Thank you!