There is a manufacturer-provided integration which works well for the switchbots, I use it in my own home. The main drawback is that it’s cloud based and can get expensive. You need the $40 Switchbot mini hub for the integration, plus about another $30 for each Switchbot. But we use it for some things that are otherwise hard to automate.
I wrote a review here:
2020 Switchbot Review ( robot button pusher), integration through IFTTT or SmartThings app