New services
Explore Plans
Mobile menu Close menu
SwitchBotSwitchBot

電球のプリセット

本ページでSwitchBotアプリに保存されたプリセットを設定できます

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

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

Action fields

Chose a device Dropdown list

Label
電球を選択
Slug
chose_a_device
Required
true
Can have default value
false

Choose a mode Dropdown list

Label
モードを選択
Slug
choose_a_mode
Required
true
Can have default value
true
Filter code method
Switchbot.setModeBulbJa.setChooseAMode(string: chooseAMode)

Choose a index Dropdown list

Label
プリセットの番号を選択
Slug
choose_a_index
Required
true
Can have default value
true
Filter code method
Switchbot.setModeBulbJa.setChooseAIndex(string: chooseAIndex)

Set time Dropdown list

Label
フェード
Slug
set_time
Required
true
Can have default value
true
Filter code method
Switchbot.setModeBulbJa.setSetTime(string: setTime)