Set Fan Mode

POST /thermostats/set_fan_mode ⇒ { action_attempt }

Sets the fan mode setting for a specified thermostat.

Request

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

Response

{
  "action_attempt_id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "pending",
  "action_type": "SET_FAN_MODE"
}

Request Parameters

device_id

Type: string Required: Yes


fan_mode

Type: string Required: No


fan_mode_setting

Type: string Required: No

Desired fan mode setting for the thermostat.


Return Type

action_attempt

Last updated

Logo

© Seam Labs, Inc. All rights reserved.