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.

Developer info

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 atDate and time event was created.

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

Device nameThe name of the device

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