New services
Explore Plans
Mobile menu Close menu
ConnectorConnector

Switch Control

This action will be used to turn on/turn off the switch.

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
dooya_connector.switch_onoff
Filter code method
DooyaConnector.switchOnoff.skip(string?: reason)
Runtime method
runAction("dooya_connector.switch_onoff", {})

Action fields

Which switch Dropdown list

Label
Which one?
Slug
which_switch
Required
true
Can have default value
false

Onoff Dropdown list

Label
Turn on/Turn off
Slug
onoff
Required
true
Can have default value
true
Filter code method
DooyaConnector.switchOnoff.setOnoff(string: onoff)