Explore Plans
Mobile menu Close menu
iDevicesiDevices

History of recent thermostat mode changes

This query returns a list of recent thermostat changes to the configured mode (or of all changes if 'any' was selected).

Developer info

API endpoint slug
idevices.history_of_recent_thermostat_mode_changes
Runtime method
performQuery("idevices.history_of_recent_thermostat_mode_changes")

Query fields

What device Dropdown list

Label
What device
Slug
what_device
Required
true
Can have default value
false

What mode Dropdown list

Label
What mode?
Slug
what_mode
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
Idevices.historyOfRecentThermostatModeChanges.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Device nameThe name of the device firing this trigger.

Slug
device_name
Filter code
Idevices.historyOfRecentThermostatModeChanges.DeviceName
Type
String
Example
Living room thermostat

Device modeThe mode to which this device just changed.

Slug
device_mode
Filter code
Idevices.historyOfRecentThermostatModeChanges.DeviceMode
Type
String
Example
heat