Group Location
Explore Plans
Mobile menu Close menu
AiDotAiDot

Turn on/off

This action changes the switch status of the device you select.

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
This action changes the switch status of the device you select.
API endpoint slug
LDS_AiDot.OnOff
Filter code method
LDSAiDot.onOff.skip(string?: reason)
Runtime method
runAction("LDS_AiDot.OnOff", {})

Action fields

Object ID Dropdown list

Label
Device
Helper text
choose a device
Slug
objectId
Required
true
Can have default value
false

On off Dropdown list

Label
OnOff
Helper text
On/Off
Slug
OnOff
Required
true
Can have default value
true
Filter code method
LDSAiDot.onOff.setOnOff(string: onOff)