For those interested, I have just posted a Groovy ‘library’ (of sorts) that may be helpful to those trying to develop Application or Device Handler code that can run unmodified on both SmartThings and Hubitat. I’ve spent literall hours testing performance of various approaches, supported by a number of core members of the Hubitat team, to come up with this library.
This SHPL is available (for free) here:
You will find documentation and some sample code in the README file. The code is free to use
Comments and feedback is welcome.