When duplicated event came, is second one be ignored?

I made a button with c2c-button device profile and it works well, when I click, automation is triggered, when I click again, automation doesn’t work. But if I double-click after one-click, next click trigger automaiton.
Is it rule of automation or just a bug?