Explore Plans
Mobile menu Close menu
ConnectorConnector

Switch Control

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

Developer info

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)