Set to Off Mode

Sets a specified thermostat to "off" mode.

Specify the device_id of the thermostat that you want to set to off mode.

Code

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

Output

{
  "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.

To learn more, see Authentication.

Request Parameters

device_id String (Required)

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


Response

action_attempt


Examples

Last updated

Was this helpful?

Revision created

ci: Generate docs