This action will turn on/off a device.
Developer info
- API endpoint slug
- vesync.deviceAction
- Filter code method
- Vesync.deviceAction.skip(string?: reason)
- Runtime method
- runAction("vesync.deviceAction", {})
Action fields
Device Dropdown list
- Label
- Select Device
- Slug
- device
- Required
- true
- Can have default value
- false
State Dropdown list
- Label
- Select State
- Slug
- state
- Required
- true
- Can have default value
- true
- Filter code method
- Vesync.deviceAction.setState(string: state)