Group Location
Explore Plans
Mobile menu Close menu
VeSync SwitchVeSync Switch

History of recent "Turned off" events

This query returns a list of recent events when the device turned off.

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_recent_turned_off_events
Runtime method
performQuery("vesyncSwitchOnline.history_of_recent_turned_off_events")

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.historyOfRecentTurnedOffEvents.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Device name

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