<br />

# Temperature Schema

[Nest Thermostat](https://developers.google.com/nest/device-access/api/thermostat)

`sdm.devices.traits.Temperature`

This trait belongs to any device that has a sensor to measure temperature.

<br />

## Fields


| Field | Description | Data Type |
|---|---|---|
| `ambientTemperatureCelsius` | Temperature in degrees Celsius, measured at the device. | `number` Example: 23.0 |

<br />

<br />

#### Sample GET request and response

### Request

```
GET /enterprises/project-id/devices/device-id
```

### Response

    {
      "name" : "enterprises/project-id/devices/device-id",
      "traits" : {
        "sdm.devices.traits.Temperature" : {
          "ambientTemperatureCelsius" : 23.0
        }
      }
    }

<br />

## Commands

There are no commands available for this trait.


## Errors

See the [API Error Code Reference](https://developers.google.com/nest/device-access/reference/errors/api) for
the full list of API error codes.

<br />