Set to Off Mode
Sets a specified thermostat to "off" mode.
Sets a specified thermostat to "off" mode.
Code:
await seam.thermostats.off({
device_id: "5d5c3b30-5fed-47a3-9df1-ed32f32589e5",
});Output:
{
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type": "SET_HVAC_MODE",
"error": null,
"result": {},
"status": "success"
}Sets a specified thermostat to "off" mode.
Code:
curl --include --request POST "https://connect.getseam.com/thermostats/off" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "5d5c3b30-5fed-47a3-9df1-ed32f32589e5"
}
EOFOutput:
{
"action_attempt": {
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type": "SET_HVAC_MODE",
"error": null,
"result": {},
"status": "success"
}
}Sets a specified thermostat to "off" mode.
Code:
seam.thermostats.off(device_id="5d5c3b30-5fed-47a3-9df1-ed32f32589e5")Output:
ActionAttempt(
action_attempt_id="b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
action_type="SET_HVAC_MODE",
error=None,
result={},
status="success",
)Sets a specified thermostat to "off" mode.
Code:
seam.thermostats.off(device_id: "5d5c3b30-5fed-47a3-9df1-ed32f32589e5")Output:
{
"action_attempt_id" => "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type" => "SET_HVAC_MODE",
"error" => nil,
"result" => {
},
"status" => "success",
}Sets a specified thermostat to "off" mode.
Code:
$seam->thermostats->off(device_id: "5d5c3b30-5fed-47a3-9df1-ed32f32589e5");Output:
[
"action_attempt_id" => "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type" => "SET_HVAC_MODE",
"error" => null,
"result" => [],
"status" => "success",
];Sets a specified thermostat to "off" mode.
Code:
seam thermostats off --device_id "5d5c3b30-5fed-47a3-9df1-ed32f32589e5"Output:
{
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type": "SET_HVAC_MODE",
"error": null,
"result": {},
"status": "success"
}Request Parameters
device_id String (Required)
ID of the thermostat device that you want to set to off mode.
Response
{
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
"action_type": "SET_HVAC_MODE",
"error": null,
"result": {},
"status": "success"
}Last updated
Was this helpful?

