Set to Off Mode

POST /thermostats/off ⇒ { action_attempt }

Sets a specified thermostat to "off" mode.

Request

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

Response

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

Authentication Methods

  • API key

  • Client session token

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

Request Parameters

device_id

Format: UUID Required: Yes

ID of the desired thermostat device.


Return Type

action_attempt

SET_HVAC_MODE

Setting HVAC mode.

action_attempt_id

Format: UUID

ID of the action attempt.


action_type

Format: Enum

Value: SET_HVAC_MODE


status

Format: Enum

Possible enum values:

  • success

  • pending

  • error


Last updated

Was this helpful?