This query returns a list of when a specific device was turned on.
- API endpoint slug
- viva.history_of_device_ons
- Runtime method
- performQuery("viva.history_of_device_ons")
Query fields
- Label
- Which device?
- Helper text
- Select the device
- Slug
- device_address
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- time
- Filter code
- Viva.historyOfDeviceOns.Time
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- event
- Filter code
- Viva.historyOfDeviceOns.Event
- Type
- String
- Example
- "On"
- Slug
- object
- Filter code
- Viva.historyOfDeviceOns.Object
- Type
- String
- Example
- "Living room lights"