This action will turn on/off a device
Developer info
- API endpoint slug
- aisync.on_off
- Filter code method
- Aisync.onOff.skip(string?: reason)
- Runtime method
- runAction("aisync.on_off", {})
Action fields
Device Dropdown list
- Label
- which device?
- Helper text
- Please select the device you have on Fanlight Sync solution.
- Slug
- device
- Required
- true
- Can have default value
- false
On off Dropdown list
- Label
- on or off?
- Helper text
- Please choose switch on or off
- Slug
- on_off
- Required
- true
- Can have default value
- true
- Filter code method
- Aisync.onOff.setOnOff(string: onOff)