Hello! I am trying to calculate the amount of rain fallen in last X amount of hours. I have a sensor that records the mm of rain and stores it in insights. Do you know any way of calculating the integral of such variable over the interested period of time?
Also, the derivative function (rate of change over time) would be very interesting to compute for many use cases
Reference 1: Integration - Riemann sum integral - Home Assistant
Reference 2: Derivative - Home Assistant
Thanks!