About this query
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 query returns a list of when a Decora Smart Wi-Fi device turned on.
- API endpoint slug
- my_leviton.history_of_wi_fi_device_turned_on
- Runtime method
- performQuery("my_leviton.history_of_wi_fi_device_turned_on")
Query fields
Name Dropdown list
- Label
- Which device?
- Slug
- name
- Required
- true
- Can have default value
- false
Ingredients
PowerThe current power state of the device.
- Slug
- power
- Filter code
- MyLeviton.historyOfWiFiDeviceTurnedOn.Power
- Type
- String
- Example
- On
NameThe name of the device.
- Slug
- name
- Filter code
- MyLeviton.historyOfWiFiDeviceTurnedOn.Name
- Type
- String
- Example
- Living Room Dimmer
DateDate and time the device's status changed.
- Slug
- date
- Filter code
- MyLeviton.historyOfWiFiDeviceTurnedOn.Date
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00