New services
Explore Plans
Mobile menu Close menu
FanimationFanimation

Turn a device on or off

This action will turn on/off a device

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
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)