This action will Turn on/off the light of your choosing.
Developer info
- API endpoint slug
- Aqara_Home.action_on_off_lamp_2
- Filter code method
- AqaraHome.actionOnOffLamp2.skip(string?: reason)
- Runtime method
- runAction("Aqara_Home.action_on_off_lamp_2", {})
Action fields
Subject ID Dropdown list
- Label
- whith 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.actionOnOffLamp2.setWhichStatus(string: whichStatus)