Set to Cool Mode
Sets a specified thermostat to cool mode.
POST /thermostats/cool ⇒ { action_attempt }
Request Parameters
device_id
String (Required)
ID of the thermostat device that you want to set to cool mode.
cooling_set_point_celsius
Number
Desired cooling set point in °C. You must set one of the cooling_set_point
parameters.
cooling_set_point_fahrenheit
Number
Desired cooling set point in °F. You must set one of the cooling_set_point
parameters.
Response
SET_HVAC_MODE
{
action_attempt_id: [example value],
action_type: [example value],
error: [example value],
result: [example value],
status: [example value]
}
Examples
Set to cool mode
Specify the desired cooling set point in °C or °F.
Code
await seam.thermostats.cool({
device_id: "123e4567-e89b-12d3-a456-426614174000",
cooling_set_point_celsius: 25,
});
Output
{
"action_attempt_id": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"action_type": "SET_COOL"
}
Last updated
Was this helpful?