Set AC state for multiple devices simultaneously
POST /airbend/me/bulk/acStates
POST
/airbend/me/bulk/acStates
Applies the same AC state to multiple devices in the organization. Creates scheduled tasks for each device.
Authorizations
Request Body required
object
device_uids
required
List of device UIDs to apply the AC state to
Array<string>
acState
required
object
on
required
True for on, false for off
boolean
mode
required
One of modes in remoteCapabilities (“cool”, “heat”, “fan”, “auto”, “dry”)
string
fanLevel
required
One of fan levels in remoteCapabilities (e.g., “low”, “medium”, “high”, “auto”)
string
targetTemperature
required
Target temperature
integer
temperatureUnit
‘C’ for Celsius or ‘F’ for Fahrenheit
string
swing
One of the swing states in remoteCapabilities (e.g., “stopped”, “rangeful”)
string
Responses
200
Bulk AC state operation results
object
completed
List of device UIDs that were successfully scheduled
Array<string>
errors
List of errors for devices that failed
Array<object>
object
device_uid
Device UID that failed
string
error
Error code
string
message
Human-readable error message
string