Set Fan Mode
Sets the fan mode setting for a specified thermostat.
POST /thermostats/set_fan_mode β { action_attempt }
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
Desired fan mode setting for the thermostat.
Response
SET_FAN_MODE
{
action_attempt_id: [example value],
action_type: [example value],
error: [example value],
result: [example value],
status: [example value]
}
Examples
Set fan mode setting
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"
}
Last updated
Was this helpful?