[null,null,["最后更新时间 (UTC):2025-07-29。"],[[["\u003cp\u003eThe \u003ccode\u003eThermostatHvac\u003c/code\u003e trait applies to THERMOSTAT devices and provides information about their heating, ventilation, and air conditioning (HVAC) status.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estatus\u003c/code\u003e field indicates the current HVAC mode of the thermostat, which can be "OFF", "HEATING", or "COOLING".\u003c/p\u003e\n"],["\u003cp\u003eEvents related to HVAC status changes might not always be delivered simultaneously with thermostat mode change events, potentially due to system protection delays.\u003c/p\u003e\n"],["\u003cp\u003eWhile you can retrieve the HVAC status using a GET request, there are no specific commands to control this trait directly.\u003c/p\u003e\n"]]],["The `ThermostatHvac` trait, applicable to THERMOSTAT devices, reports the current HVAC status, which can be \"OFF,\" \"HEATING,\" or \"COOLING.\" HVAC status change events might be delayed, occurring separately from thermostat mode or temperature setpoint changes. A GET request retrieves the device's HVAC status under the \"sdm.devices.traits.ThermostatHvac\" trait. No commands are available for this trait. Error codes are available for reference.\n"],null,["\u003cbr /\u003e\n\nThermostatHvac Schema\n=====================\n\n[Nest Thermostat](/nest/device-access/api/thermostat)\n\n`sdm.devices.traits.ThermostatHvac`\n\nThis trait belongs to device types of THERMOSTAT that can report HVAC details.\n\n\u003cbr /\u003e\n\nFields\n------\n\n\n| Field | Description | Data Type |\n|----------|----------------------------------------|----------------------------------------------|\n| `status` | Current HVAC status of the thermostat. | `string` Values: \"OFF\", \"HEATING\", \"COOLING\" |\n\n\u003cbr /\u003e\n\n### Timing of events\n\nNote that an event for a change in HVAC status may not be delivered at the same time as events\nfor a thermostat mode change.\n\nFor example, sometimes there is\n[a\ndelay in starting a thermostat's heating or cooling mode](https://support.google.com/googlenest/answer/9233450) in order to protect the HVAC\nsystem. In this scenario, changing the thermostat mode may only initially send events for\n[ThermostatMode](/nest/device-access/traits/device/thermostat-mode) and\n[ThermostatTemperatureSetpoint](/nest/device-access/traits/device/thermostat-temperature-setpoint) trait changes, with the\nThermostatHvac trait change sent later as a separate\nevent once the system actually turns on. If there was no delay in turning on the HVAC system, all\nthree events would be sent at the same time.\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.ThermostatHvac\" : {\n \"status\" : \"HEATING\"\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"]]