Explore Plans
Mobile menu Close menu
Aqara Home for USAqara Home for US

Turns on/off the light

This action will turn on/off the light of your choosing.

Developer info

API endpoint slug
Aqara_Home.action_turn_on_off_light
Filter code method
AqaraHome.actionTurnOnOffLight.skip(string?: reason)
Runtime method
runAction("Aqara_Home.action_turn_on_off_light", {})

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.actionTurnOnOffLight.setWhichStatus(string: whichStatus)