Set to Heat Mode

POST /thermostats/heat ⇒ { action_attempt }

Sets a specified thermostat to heat mode.

Request

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

Response

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

Authentication Methods

  • API key

  • Client session token

  • Personal access token

Request Parameters

device_id

Type: string Required: Yes

ID of the desired thermostat device.


heating_set_point_celsius

Type: number Required: No

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


heating_set_point_fahrenheit

Type: number Required: No

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


Return Type

action_attempt

Last updated

Logo

© Seam Labs, Inc. All rights reserved.