Group Location
Explore Plans
Mobile menu Close menu
My LevitonMy Leviton

Button pressed

This trigger fires when a DW4BC or D2SCS button is pressed. The DW4BC supports buttons 1,2,3, or 4. The D2SCS supports buttons 1,2, or 3.

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
API endpoint slug
my_leviton.button_pressed

Trigger fields

Name Dropdown list

Label
Which switch?
Slug
name
Required
true
Can have default value
false

Number Dropdown list

Label
Which button?
Slug
number
Required
true
Can have default value
true

Ingredients

Number

Slug
number
Filter code
MyLeviton.buttonPressed.Number
Type
String
Example
1

Switch

Slug
switch
Filter code
MyLeviton.buttonPressed.Switch
Type
String
Example
Fan

Date

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