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 or turn off the fan or the light of your fanlight.
- API endpoint slug
- ewelink.fanlight_action
- Filter code method
- Ewelink.fanlightAction.skip(string?: reason)
- Runtime method
- runAction("ewelink.fanlight_action", {})
Action fields
Fanlight query Dropdown list
- Label
- Which FanLight?
- Slug
- fanlight_query
- Required
- true
- Can have default value
- false
Fan or light Dropdown list
- Label
- Fan or light?
- Slug
- fan_or_light
- Required
- true
- Can have default value
- true
- Filter code method
- Ewelink.fanlightAction.setFanOrLight(string: fanOrLight)
Onoff act Dropdown list
- Label
- Turned on or off?
- Slug
- onoff_act
- Required
- true
- Can have default value
- true
- Filter code method
- Ewelink.fanlightAction.setOnoffAct(string: onoffAct)