Explore Plans
Mobile menu Close menu
HubitatHubitat

Recent history of device opens

This query returns a list of recent times when your Habitat device opened.

Developer info

API endpoint slug
hubitat.recent_history_of_device_opens
Runtime method
performQuery("hubitat.recent_history_of_device_opens")

Query fields

Device Dropdown list

Label
Which device?
Slug
device
Required
true
Can have default value
false

Ingredients

Opened atDate/Time the device opened.

Slug
time
Filter code
Hubitat.recentHistoryOfDeviceOpens.OpenedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

DeviceThe name of the device that opened.

Slug
src
Filter code
Hubitat.recentHistoryOfDeviceOpens.Device
Type
String
Example
Kitchen Light