Best device selection for momentary switch?

Hi folks,

I use a Mimolite to control my hot tub LED. It toggles the state of the LED with a momentary connection between two contacts in the LED controller. The Mimolite has a mode (selectable via DIP switch) for momentary functionality that I'm using.

Hubitat detects the Mimolite as a "Device" and nothing more. I selected "Generic Zwave Switch" and that works, but it leaves the state incorrect (e.g., turning it on leaves the state in "On" and then turning it "Off" doesn't do anything). I sort of corrected for this with a Rule that polls the device state 2 seconds after it turns on so that it gets reset back to "Off" correctly. So then I can just tap "On" to turn it on and "On" again to turn it off. This is also essentially how Wink managed it.

Is there a better way? For example, I'd like to be able to tell Alexa to "Turn the hot tub light off" and have it work. As it is, I have to always tell her to turn it "on" to toggle the state, whether the intention is to turn it on or off.

Thanks in advance!
-Justin

Have a look at alexa routines.
You can have a routine called ‘turn the hot tub lights on’
This can include the hot tub switch to turn it on when it runs
You can then have another routine called ‘turn the hot tub lights off’
Which can also be configured to send an on command to your led switch

Although you have two phrases, it actually can be made to both switch on

Andy

Okay, cool. I'll do that - thanks for the tip!