Lots of great info in this post about porting...
For most apps, all that is needed is to replace physicalgraph with hubitat and see how it goes.