Turn on or turn off yolink switch
Developer info
- 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)