This action will turn on/off the wireless relay controller of your choosing.
- API endpoint slug
- Aqara_Home.action_turn_on_off_2_channel
- Filter code method
- AqaraHome.actionTurnOnOff2Channel.skip(string?: reason)
- Runtime method
- runAction("Aqara_Home.action_turn_on_off_2_channel", {})
Action fields
- Label
- Which device?
- Slug
- subject_id
- Required
- true
- Can have default value
- false
- Label
- Which action event?
- Slug
- which_status
- Required
- true
- Can have default value
- true
- Filter code method
- AqaraHome.actionTurnOnOff2Channel.setWhichStatus(string: whichStatus)