This action will turn on/off a device
Developer info
- API endpoint slug
- fansync.on_off
- Filter code method
- Fansync.onOff.skip(string?: reason)
- Runtime method
- runAction("fansync.on_off", {})
Action fields
Device Dropdown list
- Label
- which device?
- Helper text
- Please select the device you have on Fanimation 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
- Fansync.onOff.setOnOff(string: onOff)