Humidity Schema

Nest Thermostat 

sdm.devices.traits.Humidity

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

Fields

Field Description Data Type
ambientHumidityPercent Percent humidity, measured at the device. number
Example: 35.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.Humidity" : {
      "ambientHumidityPercent" : 35.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.