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 recent events when the device turned off.
- 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