Get a Thermostat Schedule

POST /thermostats/schedules/get ⇒ { thermostat_schedule }

Returns a specified thermostat schedule.

Request

await seam.thermostats.schedules.get({
  thermostat_schedule_id: "89d3507e-60e3-4101-bd1b-ba066ec30ad4",
});

Response

{
  "thermostat_schedule_id": "89d3507e-60e3-4101-bd1b-ba066ec30ad4",
  "name": "Reservation 2",
  "device_id": "2d488679-6f07-4810-aed2-e726872c1dd5",
  "climate_preset_key": "occupied",
  "starts_at": "2024-11-10T15:00:00.000Z",
  "ends_at": "2024-11-15T12:00:00.000Z",
  "max_override_period_minutes": 90
}

Authentication Methods

  • API key

  • Client session token

  • Personal access token

Request Parameters

thermostat_schedule_id

Type: string Required: Yes

ID of the desired thermostat schedule.


Return Type

thermostat_schedule

Last updated

Logo

© Seam Labs, Inc. All rights reserved.