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 the oscillation function of your fan by IR remote controller.
- API endpoint slug
- smartlife.swing_open
- Filter code method
- Smartlife.swingOpen.skip(string?: reason)
- Runtime method
- runAction("smartlife.swing_open", {})
Action fields
Which device Dropdown list
- Label
- Which device/group?
- Helper text
- Not all Smart Life devices are supported by this service. Refer to the device manufacturer for further information.
- Slug
- which_device
- Required
- true
- Can have default value
- false
Turn on first Dropdown list
- Label
- Turn on first?
- Helper text
- Select "Yes" will turn the fan on even if it's off.
- Slug
- turn_on_first
- Required
- true
- Can have default value
- true
- Filter code method
- Smartlife.swingOpen.setTurnOnFirst(string: turnOnFirst)