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 will turn on/off a device.
- 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)