Explore Plans
Mobile menu Close menu
SwitchBotSwitchBot

Delay On/Off

You can set the Plug Mini's action

Developer info

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

Action fields

Chose a device Dropdown list

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

Turn on off Dropdown list

Label
Turn On/Off
Slug
turn_on_off
Required
true
Can have default value
true
Filter code method
Switchbot.setDelayOnOffPlug.setTurnOnOff(string: turnOnOff)

Set time Text input > Other

Label
Delay time
Helper text
Input delay minute
Slug
set_time
Required
true
Can have default value
true
Filter code method
Switchbot.setDelayOnOffPlug.setSetTime(string: setTime)