Hi! I have a Switchbot Bot, and a Switchbot Hub Mini.
I have been using a bluetooth dongle and the switchbot bluetooth integration to control the bot, but it’s unreliable, as the bluetooth dongle sometimes is disconnected from my HA, and requires reconfiguration.
I would like to use the Switchbot API to control this. I have created some python scripts that successfully turn on/off the device (GitHub - AndrewBreyen/switchbot-scripts)
How can I use these scripts to create a light to turn on/off the bot?