Explore Plans
Mobile menu Close menu
My LevitonMy Leviton

History of device turned off

This query returns a list of times when a Decora Smart Wi-Fi device turns off.

Developer info

API endpoint slug
my_leviton.history_of_device_turned_off
Runtime method
performQuery("my_leviton.history_of_device_turned_off")

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.historyOfDeviceTurnedOff.Power
Type
String
Example
Off

NameThe name of the device.

Slug
name
Filter code
MyLeviton.historyOfDeviceTurnedOff.Name
Type
String
Example
Living Room Dimmer

DateDate and time the device's status changed.

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