Explore Plans
Mobile menu Close menu
eWeLink Smart HomeeWeLink Smart Home

Turn 1-Channel Switch on or off

This action will turn your eWeLink Support 1-Channel Switch on or off.

Developer info

API endpoint slug
ewelink.switch_action
Filter code method
Ewelink.switchAction.skip(string?: reason)
Runtime method
runAction("ewelink.switch_action", {})

Action fields

Switch query Dropdown list

Label
Which 1-Channel Switch?
Slug
switch_query
Required
true
Can have default value
false

Onoff act query Dropdown list

Label
Turn on or off?
Slug
onoff_act_query
Required
true
Can have default value
false