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
- Turn on or turn off yolink switch
- API endpoint slug
- yolink.switch
- Filter code method
- Yolink.switch.skip(string?: reason)
- Runtime method
- runAction("yolink.switch", {})
Action fields
Device ID Dropdown list
- Label
- Device
- Helper text
- Choose a device
- Slug
- deviceId
- Required
- true
- Can have default value
- false
Action Dropdown list
- Label
- Action
- Helper text
- Choose a action
- Slug
- action
- Required
- true
- Can have default value
- true
- Filter code method
- Yolink.switch.setAction(string: action)