There's a couple of ways to do this. One of them is not fully cooked yet.
-
There's a cloud integration so HE can integrate with the SwitchBot hubs.
-
Switchbot Hub 2 has (or will have) Matter support. But Hubitat doesn't have Matter support ready, so this is a future possibility.
-
Home Assistant can integrate with Switchbot devices locally via Bluetooth and they can use and ESP32 with Bluetooth as a proxy to extend range. You can use HADB to integrate their sensors back to HE, or for bot devices you can also use the HE>HA integration to control them with Hubitat Virtual Switches and HA automations.
-
There's an ESP32 Bluetooth integration that allows their sensors and bots to integrate via MQTT. I use this one with HA and then use HADB for the sensors, and the HE>HA integration to control my SwitchBot bot via a Hubitat Virtual Switch and HA automation. However, since it's MQTT, there's no reason this method wouldn't work with an HE or any other MQTT integration.
Now, I'm not actually suggesting you setup HA and MQTT just for a single SwitchBot bot. I've made my opinion known many times about how valuable I think it is to have HA and HE integrated, so you decide if you think it's worth it or not to have their many additional local and cloud integrations available to your HE hub. For me, I already had Z2M setup on HA, therefor it was just a matter of configuring the Arduino sketch for the first time so I could program ESP32 D1 minis for this. I prefer this method because D1 minis with Bluetooth and WiFi are inexpensive and self-contained, allowing me to put them anywhere within WiFI range to communicate with SwitchBot devices, without a concern over Bluetooth range.