Step one would be to just try importing it. Sometimes you get lucky.
There is a thread about what is different between the hub commands here: App and driver porting to Hubitat Hopefully if you have to edit the driver, this will help.
Beyond that, I am not much help. Hopefully others can chime in here.