设置架构
sdm.devices.traits.Settings
对于设备相关设置信息,此特征属于任何设备。
字段
字段 | 说明 | 数据类型 |
---|---|---|
temperatureScale |
Google Nest Thermostat 上显示的度数格式。 | string 值:“CELSIUS”“FAHRENHEIT” |
示例 GET 请求和响应
请求
GET /enterprises/project-id/devices/device-id
响应
{
"name" : "enterprises/project-id/devices/device-id",
"traits" : {
"sdm.devices.traits.Settings
" : {
"temperatureScale" : "CELSIUS"
}
}
}
命令
没有适用于此特征的命令。
错误数
如需查看 API 错误代码的完整列表,请参阅 API 错误代码参考。