Add 'min duration between two events' option to 'Detect events above threshold'

Sure, I'll take it