Set to Off Mode
Sets a specified thermostat to "off" mode.
POST /thermostats/off β { action_attempt }
Request Parameters
device_id
String (Required)
ID of the thermostat device that you want to set to off mode.
Response
SET_HVAC_MODE
{
action_attempt_id: [example value],
action_type: [example value],
error: [example value],
result: [example value],
status: [example value]
}
Examples
Set 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"
}
Last updated
Was this helpful?