Explore Plans
Mobile menu Close menu
SwitchBotSwitchBot

Bulb Presets

You can set the presets saved in your SwitchBot app here.

Developer info

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

Action fields

Chose a device Dropdown list

Label
Choose a Color Bulb
Slug
chose_a_device
Required
true
Can have default value
false

Choose a mode Dropdown list

Label
Choose Mode
Slug
choose_a_mode
Required
true
Can have default value
true
Filter code method
Switchbot.setModeBulb.setChooseAMode(string: chooseAMode)

Choose a index Dropdown list

Label
Choose Preset Number
Slug
choose_a_index
Required
true
Can have default value
true
Filter code method
Switchbot.setModeBulb.setChooseAIndex(string: chooseAIndex)

Set time Dropdown list

Label
Fade Rate
Slug
set_time
Required
true
Can have default value
true
Filter code method
Switchbot.setModeBulb.setSetTime(string: setTime)