List Thermostats

Returns a list of all thermostats.

To filter the list of returned thermostats, specify the desired parameters.

Code

await seam.thermostats.list();

Output

[
  {
    "device_id": "123e4567-e89b-12d3-a456-426614174000",
    "device_type": "ecobee_thermostat",
    "capabilities_supported": ["thermostat"],
    "properties": {
      "name": "Entryway",
      "online": "true,",
      "relative_humidity": 0.36,
      "temperature_farenheit": 70,
      "available_hvac_mode_settings": ["cool", "heat", "heat_cool", "off"],
      "current_climate_setting": {
        "hvac_mode_setting": "heat_cool",
        "cooling_set_point_farenheit": 75,
        "heating_set_point_farenheit": 65,
        "manual_override_allowed": false
      },
      "location": null,
      "connected_account_id": "123e4567-e89b-12d3-a456-426614174000",
      "workspace_id": "123e4567-e89b-12d3-a456-426614174000",
      "created_at": "2024-04-05T07:57:05.323Z"
    }
  }
]
Authentication Methods
  • API key

  • Client session token

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

To learn more, see Authentication.

Request Parameters

connect_webview_id String

ID of the Connect Webview for which you want to list devices.


connected_account_id String

ID of the connected account for which you want to list devices.


connected_account_ids Array of UUIDs

Array of IDs of the connected accounts for which you want to list devices.


created_before String

Timestamp by which to limit returned devices. Returns devices created before this timestamp.


custom_metadata_has Object

Set of key:value custom metadata pairs for which you want to list devices.


customer_ids Array of UUIDs


device_ids Array of UUIDs

Array of device IDs for which you want to list devices.


device_type String

Device type by which you want to filter thermostat devices.


device_types Array of Enums

Array of device types by which you want to filter thermostat devices.

Enum values

Possible enum values:

  • ecobee_thermostat

  • nest_thermostat

  • honeywell_resideo_thermostat

  • tado_thermostat

  • sensi_thermostat

  • smartthings_thermostat


limit Number

Numerical limit on the number of devices to return.


manufacturer String

Manufacturer by which you want to filter thermostat devices.


page_cursor String

Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.


space_id String

ID of the space for which you want to list devices.


unstable_location_id String


user_identifier_key String

Your own internal user ID for the user for which you want to list devices.


Response

Array of devices


Examples

Last updated

Was this helpful?

Revision created

ci: Generate docs