This query returns a recent history of when a device reported a battery level.
- API endpoint slug
- viva.history_of_battery_level_reports_for_a_specific_device
- Runtime method
- performQuery("viva.history_of_battery_level_reports_for_a_specific_device")
Query fields
- Label
- Which device?
- Slug
- device_address
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- time
- Filter code
- Viva.historyOfBatteryLevelReportsForASpecificDevice.Time
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- event
- Filter code
- Viva.historyOfBatteryLevelReportsForASpecificDevice.Event
- Type
- String
- Example
- "On"
- Slug
- object
- Filter code
- Viva.historyOfBatteryLevelReportsForASpecificDevice.Object
- Type
- String
- Example
- "Living room lights"
- Slug
- battery_level
- Filter code
- Viva.historyOfBatteryLevelReportsForASpecificDevice.BatteryLevel
- Type
- String
- Example
- "50%"