You can set the on/off state of your Color Bulb here.
- API endpoint slug
- switchbot.turn_on_off_bulb
- Filter code method
- Switchbot.turnOnOffBulb.skip(string?: reason)
- Runtime method
- runAction("switchbot.turn_on_off_bulb", {})
Action fields
- Label
- Choose a Color Bulb
- Slug
- chose_a_device
- Required
- true
- Can have default value
- false
- Label
- Turn On/Off
- Slug
- turn_on_off
- Required
- true
- Can have default value
- true
- Filter code method
- Switchbot.turnOnOffBulb.setTurnOnOff(string: turnOnOff)
- Label
- Fade Rate
- Slug
- set_time
- Required
- true
- Can have default value
- true
- Filter code method
- Switchbot.turnOnOffBulb.setSetTime(string: setTime)