You can set the presets saved in your SwitchBot app here.
- API endpoint slug
- switchbot.set_mode_bulb
- Filter code method
- Switchbot.setModeBulb.skip(string?: reason)
- Runtime method
- runAction("switchbot.set_mode_bulb", {})
Action fields
- Label
- Choose a Color Bulb
- Slug
- chose_a_device
- Required
- true
- Can have default value
- false
- Label
- Choose Mode
- Slug
- choose_a_mode
- Required
- true
- Can have default value
- true
- Filter code method
- Switchbot.setModeBulb.setChooseAMode(string: chooseAMode)
- Label
- Choose Preset Number
- Slug
- choose_a_index
- Required
- true
- Can have default value
- true
- Filter code method
- Switchbot.setModeBulb.setChooseAIndex(string: chooseAIndex)
- Label
- Fade Rate
- Slug
- set_time
- Required
- true
- Can have default value
- true
- Filter code method
- Switchbot.setModeBulb.setSetTime(string: setTime)