Set to Heat Mode

Sets a specified thermostat to heat mode.

POST /thermostats/heat ⇒ { action_attempt }
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 heat mode.


heating_set_point_celsius Number

Desired heating set point in °C. You must set one of the heating_set_point parameters.


heating_set_point_fahrenheit Number

Desired heating set point in °F. You must set one of the heating_set_point parameters.


Response

action_attempt

SET_HVAC_MODE

{
  action_attempt_id: [example value],
  action_type: [example value],
  error: [example value],
  result: [example value],
  status: [example value]
}

Examples

Set to heat mode

Specify the desired heating set point in °C or °F.

Code

await seam.thermostats.heat({
  device_id: "123e4567-e89b-12d3-a456-426614174000",
  heating_set_point_celsius: 20,
});

Output

{
  "action_attempt_id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "pending",
  "action_type": "SET_HEAT"
}

Last updated

Was this helpful?

Revision created

ci: Generate docs