OH3: deltaSince(365) --- how to find the max days in a series?

It won’t run in OH 3, but there is a rule template in OH 4 which does this for power. It should work for rain too with minor updates.

Note it will have the same limitation where null gets returned if there is no data that old.

2 Likes