A beginner's guide
Explore Plans
Mobile menu Close menu
Aqara Home for USAqara Home for US

Single press the switch (for Double Rocker switches)

This trigger fires when single press the specified switch.

About this trigger

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 trigger fires when single press the specified switch.
API endpoint slug
Aqara_Home.single_press_switch2

Trigger fields

Subject ID Dropdown list

Label
Which device?
Slug
subject_id
Required
true
Can have default value
false

Which trigger event Dropdown list

Label
Which trigger event?
Slug
which_trigger_event
Required
true
Can have default value
true

Ingredients

DateDate

Slug
date
Filter code
AqaraHome.singlePressSwitch2.Date
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Device namedevice name

Slug
device_name
Filter code
AqaraHome.singlePressSwitch2.DeviceName
Type
String
Example
Wall Switch D1 (No Neutral, Double Rocker)

Device actiondevice action

Slug
device_action
Filter code
AqaraHome.singlePressSwitch2.DeviceAction
Type
String
Example
single press left button