githubEdit

Set the Fan Mode Setting

Sets the fan mode settingarrow-up-right for a specified thermostatarrow-up-right.

Sets the fan mode setting for a specified thermostat.

Code:

await seam.thermostats.setFanMode({
  device_id: "363e657e-3b07-4670-a290-7fb1f32b8e33",
  fan_mode_setting: "auto",
});

Output:

{
  "action_attempt_id": "2a3b4c5d-6e7f-8a9b-acbd-1e2f3a4b5c6d",
  "action_type": "SET_FAN_MODE",
  "error": null,
  "result": {},
  "status": "success"
}
chevron-rightAuthentication Methodshashtag
  • API key

  • Client session token

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

To learn more, see Authenticationarrow-up-right.

Request Parameters

device_id String (Required)

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


fan_mode String

circle-exclamation

fan_mode_setting String

Fan mode settingarrow-up-right that you want to set for the thermostat.


Response

circle-check

Last updated

Was this helpful?