Set to Cool Mode

Sets a specified thermostat to cool mode.

Sets a specified thermostat to cool mode.

Code

await seam.thermostats.cool({
  device_id: "408641ab-d0f5-475c-b8a5-9b9096405f9a",
  cooling_set_point_fahrenheit: 75,
});

Output

{
  "action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
  "action_type": "SET_HVAC_MODE",
  "error": null,
  "result": {},
  "status": "success"
}
Authentication Methods
  • API key

  • Client session token

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

Request Parameters

device_id String (Required)

ID of the thermostat device that you want to set to cool mode.


cooling_set_point_celsius Number

Cooling set point in °C that you want to set for the thermostat. You must set one of the cooling_set_point parameters.


cooling_set_point_fahrenheit Number

Cooling set point in °F that you want to set for the thermostat. You must set one of the cooling_set_point parameters.


Response

action_attempt

{
  "action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
  "action_type": "SET_HVAC_MODE",
  "error": null,
  "result": {},
  "status": "success"
}

Last updated

Was this helpful?