[null,null,["最后更新时间 (UTC):2025-07-29。"],[[["\u003cp\u003eThe \u003ccode\u003esdm.devices.traits.Settings\u003c/code\u003e trait provides device-related settings information, specifically the temperature scale used by a Google Nest Thermostat.\u003c/p\u003e\n"],["\u003cp\u003eThis trait includes a \u003ccode\u003etemperatureScale\u003c/code\u003e field, indicating whether the thermostat displays temperature in Celsius or Fahrenheit.\u003c/p\u003e\n"],["\u003cp\u003eUsers can retrieve device settings, including the temperature scale, using a GET request to the device's endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe Settings trait does not offer any commands to modify device settings.\u003c/p\u003e\n"]]],["The `sdm.devices.traits.Settings` trait provides device-related settings information for a Nest Thermostat, specifically the `temperatureScale`. This field indicates the temperature format, which can be either \"CELSIUS\" or \"FAHRENHEIT\". A GET request to retrieve device information includes this trait, showing the current `temperatureScale`. No commands are available to modify these settings. The full list of error codes can be found in the API Error Code Reference.\n"],null,["\u003cbr /\u003e\n\nSettings Schema\n===============\n\n[Nest Thermostat](/nest/device-access/api/thermostat)\n\n`sdm.devices.traits.Settings`\n\nThis trait belongs to any device for device-related settings information.\n\n\u003cbr /\u003e\n\nFields\n------\n\n\n| Field | Description | Data Type |\n|--------------------|--------------------------------------------------------------|------------------------------------------|\n| `temperatureScale` | Format of the degrees displayed on a Google Nest Thermostat. | `string` Values: \"CELSIUS\", \"FAHRENHEIT\" |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n#### Sample GET request and response\n\n### Request\n\n```\nGET /enterprises/project-id/devices/device-id\n```\n\n### Response\n\n {\n \"name\" : \"enterprises/project-id/devices/device-id\",\n \"traits\" : {\n \"sdm.devices.traits.Settings\" : {\n \"temperatureScale\" : \"CELSIUS\"\n }\n }\n }\n\n\u003cbr /\u003e\n\nCommands\n--------\n\nThere are no commands available for this trait.\n\n\nErrors\n------\n\nSee the [API Error Code Reference](/nest/device-access/reference/errors/api) for\nthe full list of API error codes.\n\n\u003cbr /\u003e"]]