AI Linkedin Assistant
Explore Plans
Mobile menu Close menu
Smart LifeSmart Life

History of Device was turned on

This query returns a list of when the specified device/group was turned on.

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 the specified device/group was turned on.
API endpoint slug
smartlife.history_of_device_was_turned_on
Runtime method
performQuery("smartlife.history_of_device_was_turned_on")

Query fields

Which device Dropdown list

Label
Which device/group?
Helper text
Not all Smart Life devices are supported by this service. Refer to the device manufacturer for further information.
Slug
which_device
Required
true
Can have default value
false

Ingredients

Created atDate and time when the trigger fires.

Slug
created_at
Filter code
Smartlife.historyOfDeviceWasTurnedOn.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Device nameThis ingredient describes the device name which is triggered.

Slug
device_name
Filter code
Smartlife.historyOfDeviceWasTurnedOn.DeviceName
Type
String
Example
bedroom light