Group Location
Explore Plans
Mobile menu Close menu
VeSync SwitchVeSync Switch

History of device ons

This query returns a list of when the device 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
API endpoint slug
vesyncSwitchOnline.history_of_device_ons
Runtime method
performQuery("vesyncSwitchOnline.history_of_device_ons")

Query fields

Device Dropdown list

Label
Select device
Slug
device
Required
true
Can have default value
false

Ingredients

Created at

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

Device name

Slug
device_name
Filter code
VesyncSwitchOnline.historyOfDeviceOns.DeviceName
Type
String
Example
switch