Multiple presses, don't excute 1. Press

Hi, does anybody know if it is possible to not execute the command on 1. Press (release) when pressing 2 times.
The configuration I want is:
Press 1 time: Turn on light A
Press 2 time: Turn on light B

What I get:
Press 1 time: Turn on light A
Press 2 time: Turn on light A+B

Thanks :slight_smile: