githubEdit

Set to Off Mode

POST /thermostats/off β‡’ { action_attempt }

Sets a specified thermostatarrow-up-right to "off" modearrow-up-right.

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"
}

Request Parameters

device_id

Type: string Required: Yes

ID of the desired thermostat device.


Return Type

action_attempt

Last updated

Was this helpful?