New services
Explore Plans
Mobile menu Close menu
SwitchBotSwitchBot

Toggle On/Off

You can set the Plug Mini's action

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
You can set the Plug Mini's action
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