Explore Plans
Mobile menu Close menu
SwitchBotSwitchBot

Turn Bulb On/Off

You can set the on/off state of your Color Bulb here.

Developer info

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

Chose a device Dropdown list

Label
Choose a Color Bulb
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.turnOnOffBulb.setTurnOnOff(string: turnOnOff)

Set time Dropdown list

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