Double input for different action

Hello,

Another idea from my 3 years journes with sonoff.

This would apply to any switch or relays.

If possible it would be awesome to implement listener for lets say “two impulses in 2 seconds”.

If enabled, different action could be configured.

Example:

Motor relay: One impuls - full rolldown / doubleclick - rolldown to 5%

Light switch: Single click - light on/light off | Double click - set dimmer to 50%

This could be challenging, but in many cases usefull for customers.