OctoPrint plugin for turning on/off SwitchBot Plug.
Install via the bundled Plugin Manager or manually using this URL:
https://github.com/ar90n/OctoPrint-SwitchBot-Plug/archive/main.zip
Fill in your token, secret and device id in plugin settings.
Click turn on/off button in sidebar.