Scene

You can use the switches for a scene (assuming it as been named). In the scene “if …” just select the switch and decide if you want the scene to be executed after a single, double or long press.