Nano Dimmer w/ Wallswipe

Hey all, so I have a nano dimmer with a wall swipe from aeotec. I have the dimmer dimming the light no problem, but I’d like to have it turn on a microswitch if I double tap the wallswipe. Is there a device handler to use with this? I’ve been researching the tweaker app, but can’t figure out what I’m looking for to make this happen. Are there any docs I can read through to make me more familiar with the back end of ST?

Thanks y’all