New services
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).

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
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 at

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

Device name

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

Device mode

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