Unless I'm missing something obvious, you'd disconnect the devices one by one from SmartThings, do a factory reset, and then add the device to Habitat. There's a list of compatible devices here. List of Compatible Devices | Hubitat Documentation
And of course there may also be community drivers for other devices. You would search here in the Community site for those.