I’m trying to script a template but have no real idea how to do it.
I want to create a trigger which is bases on a percentage change of the numeric value of a sensor for a X number of minutes. e.g. sensor value has risen 20% within 10 minutes.
How would one go about scripting this. Any insights would be greatly appreciated.