Take the “today value” every 10 minutes. substract the vlaue from 10 minutes ago, multiply with 6.
Then I should have a hourly rate which is updated every 10 minutes.
I’m not sure you can schedule when you get the sensor update, and I’m not sure either how you’d get the value from 10 min ago. It sounds a bit complicated…