await seam.thermostats.setFanMode({
device_id: "363e657e-3b07-4670-a290-7fb1f32b8e33",
fan_mode_setting: "auto",
});
/*
{
"action_attempt_id": "2a3b4c5d-6e7f-8a9b-acbd-1e2f3a4b5c6d",
"action_type": "SET_FAN_MODE",
"error": null,
"result": {},
"status": "success"
}
*/
{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "SET_FAN_MODE",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
}
}Thermostats
Set the Fan Mode Setting
Sets the fan mode setting for a specified thermostat.
POST
/
thermostats
/
set_fan_mode
await seam.thermostats.setFanMode({
device_id: "363e657e-3b07-4670-a290-7fb1f32b8e33",
fan_mode_setting: "auto",
});
/*
{
"action_attempt_id": "2a3b4c5d-6e7f-8a9b-acbd-1e2f3a4b5c6d",
"action_type": "SET_FAN_MODE",
"error": null,
"result": {},
"status": "success"
}
*/
{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "SET_FAN_MODE",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
}
}Authorizations
client_sessionpat_with_workspaceconsole_session_with_workspaceapi_key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
ID of the thermostat device for which you want to set the fan mode.
Deprecated. Use fan_mode_setting instead.
Fan mode setting for the thermostat, such as auto, on, or circulate.
Available options:
auto, on, circulate Fan mode setting that you want to set for the thermostat.
Available options:
auto, on, circulate Response
OK
Tracks the progress of this operation. Poll using the action_attempt_id. See the action_attempt object.
Show child attributes
Show child attributes
Was this page helpful?