Set Fan Mode

Sets the fan mode setting for a specified thermostat.

Specify the desired fan mode setting.

Code

await seam.thermostats.setFanMode({
  device_id: "123e4567-e89b-12d3-a456-426614174000",
  fan_mode_setting: "auto",
});

Output

{
  "action_attempt_id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "pending",
  "action_type": "SET_FAN_MODE"
}
Authentication Methods
  • API key

  • Client session token

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

Request Parameters

device_id String (Required)

ID of the thermostat device for which you want to set the fan mode.


fan_mode String


fan_mode_setting String

Fan mode setting that you want to set for the thermostat.


Response

action_attempt


Examples

Last updated

Was this helpful?

Revision created

ci: Generate docs