This action will turn on/off the single rocker switches of your choosing.
Developer info
- API endpoint slug
- Aqara_Home.action_turn_on_off_1
- Filter code method
- AqaraHome.actionTurnOnOff1.skip(string?: reason)
- Runtime method
- runAction("Aqara_Home.action_turn_on_off_1", {})
Action fields
Subject ID Dropdown list
- Label
- which device?
- Slug
- subject_id
- Required
- true
- Can have default value
- false
Which status Dropdown list
- Label
- Which action event?
- Slug
- which_status
- Required
- true
- Can have default value
- true
- Filter code method
- AqaraHome.actionTurnOnOff1.setWhichStatus(string: whichStatus)