Skip to main content
POST
/
thermostats
/
set_temperature_threshold
await seam.thermostats.setTemperatureThreshold({
  device_id: "a9b52627-e6e2-4beb-9168-964749f7bbae",
  lower_limit_fahrenheit: 60,
  upper_limit_fahrenheit: 80,
});

/*
// void
*/
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
device_id
string<uuid>
required

ID of the thermostat device for which you want to set a temperature threshold.

lower_limit_celsius
number<float> | null

Lower temperature limit in in °C. Seam alerts you if the reported temperature is lower than this value. You can specify either lower_limit but not both.

lower_limit_fahrenheit
number<float> | null

Lower temperature limit in in °F. Seam alerts you if the reported temperature is lower than this value. You can specify either lower_limit but not both.

upper_limit_celsius
number<float> | null

Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either upper_limit but not both.

upper_limit_fahrenheit
number<float> | null

Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either upper_limit but not both.

Response

OK

ok
boolean
required