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
- Label
- Which FanLight?
- Slug
- fanlight_query
- Required
- true
- Can have default value
- false
- Label
- Fan or light?
- Slug
- fan_or_light
- Required
- true
- Can have default value
- true
- Filter code method
- Ewelink.fanlightAction.setFanOrLight(string: fanOrLight)
- Label
- Turned on or off?
- Slug
- onoff_act
- Required
- true
- Can have default value
- true
- Filter code method
- Ewelink.fanlightAction.setOnoffAct(string: onoffAct)