Xiaomi Gateway vs Directly Connecting Devices to Hub

This is only possible by using the Xiaomi Aqara HomeKit Gateway, and then expose Hubitat to HomeKit by installing the Homebridge MakerAPI plugin. You then use HomeKit automations to sync Xiaomi devices to virtual switches in Hubitat.

Hubitat doesn't "see" the devices though. It only knows that the virtual switch is on or off. However, it works and really well in fact. I have all my Xiaomi contact sensors on my Aqara HomeKit Gateway now, and I sync them to virtual switches and use those in my rules in place of the contact sensor directly paired to Hubitat. It's just as fast and completely reliable.