Help with template for sensor with percentage change for x number of minutes

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.

Hi @iuro, Welcome to HA.
Here in the docs about triggers is all you need for this

1 Like