Explore Plans
Mobile menu Close menu
SwitchBotSwitchBot

Toggle On/Off

You can set the Plug Mini's action

Developer info

API endpoint slug
switchbot.set_toggle_plug
Filter code method
Switchbot.setTogglePlug.skip(string?: reason)
Runtime method
runAction("switchbot.set_toggle_plug", {})

Action fields

Chose a device Dropdown list

Label
Choose a Plug mini
Slug
chose_a_device
Required
true
Can have default value
false