Group Location
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.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This action will turn on/off the light of your choosing.
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)