Settings Schema
sdm.devices.traits.Settings
This trait belongs to any device for device-related settings information.
Fields
Field | Description | Data Type |
---|---|---|
temperatureScale |
Format of the degrees displayed on a Google Nest Thermostat. | string Values: "CELSIUS", "FAHRENHEIT" |
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.Settings
" : {
"temperatureScale" : "CELSIUS"
}
}
}
Commands
There are no commands available for this trait.
Errors
See the API Error Code Reference for the full list of API error codes.