This action will turn on/off a device
- API endpoint slug
- aisync.on_off
- Filter code method
- Aisync.onOff.skip(string?: reason)
- Runtime method
- runAction("aisync.on_off", {})
Action fields
- Label
- which device?
- Helper text
- Please select the device you have on Fanlight Sync solution.
- Slug
- device
- Required
- true
- Can have default value
- false
- 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.setOn Off(string: on_off)