Temperature Schema

Nest Thermostat 

sdm.devices.traits.Temperature

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

Fields

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

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
    }
  }
}

Commands

There are no commands available for this trait.

Errors

See the API Error Code Reference for the full list of API error codes.