---
title: "Set the Fan Mode Setting"
method: POST
path: "/thermostats/set_fan_mode"
tags: ["/thermostats"]
---

# Set the Fan Mode Setting

`POST /thermostats/set_fan_mode`

Sets the [fan mode setting](/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings) for a specified [thermostat](/capability-guides/thermostats).

## Request body

- object
  - `device_id` string, uuid, required — ID of the thermostat device for which you want to set the fan mode.
  - `fan_mode` 'auto' | 'on' | 'circulate' — Deprecated. Use `fan_mode_setting` instead. Fan mode setting for the thermostat, such as `auto`, `on`, or `circulate`.
  - `fan_mode_setting` 'auto' | 'on' | 'circulate' — [Fan mode setting](/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings) that you want to set for the thermostat.

## Response `200`

OK

- object
  - `action_attempt` object, required — Tracks the progress of this operation. Poll using the action_attempt_id. See the [action_attempt object](/api/action_attempts/object).
    - `action_attempt_id` string, uuid, required — ID of the action attempt.
    - `action_type` 'SET_FAN_MODE', required — Type of action being tracked.
    - `status` 'pending' | 'success' | 'error', required — Current status of the action.
    - `result` object, nullable — Result payload on success.
    - `error` object, nullable — Error details on failure.
      - `type` string
      - `message` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/seam/apis/seam-connect.md) · [All operations](https://skmtc.net/seam/apis/seam-connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seam/seam-connect/versions/00c35395ce12/schema)
