Multiple Momentary Switches

I would like to have multiple momentary switches in my Device Type. According to the capabilities doc, the momentary switch has a push()function. How can I get each switch to perform it’s own push function? I’ve tried creating a custom action, but that doesn’t seem to work.