Smartapp for AEON Labs micro double switch?

Yes, that should work. You usually get your quickest answers by asking in the author thread where you got the code. In this case:

That way not only does the author get flagged, but anyone else who has been using that specific device type handler can answer your questions. :sunglasses: