Explore Plans
Mobile menu Close menu
HubitatHubitat

Recent history of Device turns on

This query returns a list of recent Hubitat device turns on events.

Developer info

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

Query fields

Device Dropdown list

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

Ingredients

Turned on atDate/Time the device was turned on.

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

DeviceThe name of the device that turned on.

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