Smart Home TemperatureSetting Trait Schema
action.devices.traits.TemperatureSetting - This trait covers handling both temperature point and modes.
Device ATTRIBUTES
Devices with this trait may report the following
  attributes as part of the SYNC operation. To learn
  more about handling SYNC intents, see
  Intent fulfillment.
| Attributes | Type | Description | 
|---|---|---|
availableThermostatModes | 
    
       Required. Describes the thermostat modes this device can support.  | 
  |
| Supports one of the following: | ||
      0
     | 
    String | 
       Deprecated Comma-separated list of modes supported by this specific device. New integrations should use the   | 
  
      1
     | 
    Array | 
       List of modes supported by this specific device.  | 
  
[item, ...] | 
    String | 
       Name of the supported mode. Supported values: 
  | 
  
thermostatTemperatureRange | 
    Object | 
       Contains two float values that indicate the supported temperature range for this device (in degrees Celsius).  | 
  
minThresholdCelsius | 
    Number | 
       Required. Minimum threshold of the temperature range.  | 
  
maxThresholdCelsius | 
    Number | 
       Required. Maximum threshold of the temperature range.  | 
  
thermostatTemperatureUnit | 
    String | 
       Required. The display unit the device is set to by default. Google reports temperature information using the display unit. Supported values: 
  | 
  
bufferRangeCelsius | 
    Number | 
       (Default:  Specifies the minimum offset between heat-cool setpoints in degrees Celsius, if   | 
  
commandOnlyTemperatureSetting | 
    Boolean | 
       (Default:  Indicates if the device supports using one-way (true) or two-way (false) communication. Set this attribute to true if the device cannot respond to a QUERY intent or Report State for this trait.  | 
  
queryOnlyTemperatureSetting | 
    Boolean | 
       (Default:  Required if the device supports query-only execution. This attribute indicates if the device can only be queried for state information, and cannot be controlled.  | 
  
Examples
Thermostat device that supports discrete heating and cooling
{
  "availableThermostatModes": [
    "off",
    "heat",
    "cool",
    "on"
  ],
  "thermostatTemperatureUnit": "F"
}
Command-only thermostat device
{
  "availableThermostatModes": [
    "off",
    "heat",
    "cool",
    "on"
  ],
  "thermostatTemperatureUnit": "C",
  "commandOnlyTemperatureSetting": true,
  "queryOnlyTemperatureSetting": false
}
Device STATES
Devices with this trait may report the following
  states as part of the QUERY operation. To learn
  more about handling QUERY intents, see
  Intent fulfillment.
| States | Type | Description | 
|---|---|---|
activeThermostatMode | 
    String | 
       Currently active mode of the device, from the list of  Supported values: 
  | 
  
targetTempReachedEstimateUnixTimestampSec | 
    Integer | 
       A timestamp representing the estimated time when the target temperature will be reached.  | 
  
thermostatHumidityAmbient | 
    Number | 
       Represents the relative level of the ambient humidity, if supported by the device.  | 
  
| Contains one of the following items: | ||
      0
     | 
    Object | 
       States for fixed set point.  | 
  
thermostatMode | 
    String | 
       Required. Current mode of the device, from the list of  Supported values: 
  | 
  
thermostatTemperatureAmbient | 
    Number | 
       Required. Current observed temperature, in degrees Celsius.  | 
  
thermostatTemperatureSetpoint | 
    Number | 
       Required. Current temperature set point (single target), in degrees Celsius.  | 
  
      1
     | 
    Object | 
       States for set point range.  | 
  
thermostatMode | 
    String | 
       Required. Current mode of the device, from the list of  Supported values: 
  | 
  
thermostatTemperatureAmbient | 
    Number | 
       Required. Current observed temperature, in degrees Celsius.  | 
  
thermostatTemperatureSetpointHigh | 
    Number | 
       Required. Current high point if in   | 
  
thermostatTemperatureSetpointLow | 
    Number | 
       Required. Current low point if in   | 
  
Examples
What is the current device temperature?
{
  "activeThermostatMode": "cool",
  "thermostatMode": "cool",
  "thermostatTemperatureSetpoint": 23,
  "thermostatTemperatureAmbient": 25.1
}
What is the current device temperature?
{
  "activeThermostatMode": "none",
  "thermostatMode": "heatcool",
  "thermostatTemperatureSetpointHigh": 26,
  "thermostatTemperatureSetpointLow": 22,
  "thermostatTemperatureAmbient": 25.1
}
Device COMMANDS
Devices with this trait may respond to the following
  commands as part of the EXECUTE operation. To learn
  more about handling EXECUTE intents, see
  Intent fulfillment.
action.devices.commands.ThermostatTemperatureSetpoint
Set the target temperature for a thermostat device.
Parameters
| Parameters | Type | Description | 
|---|---|---|
thermostatTemperatureSetpoint | 
    Number | 
       Required. Target temperature setpoint. Supports up to one decimal place.  | 
  
Examples
Set the device temperature to 22 degrees.
{
  "command": "action.devices.commands.ThermostatTemperatureSetpoint",
  "params": {
    "thermostatTemperatureSetpoint": 22
  }
}
Related errors
An error occurred setting the target temperature.
Supported values:
alreadyAtMaxalreadyAtMintargetAlreadyReachedvalueOutOfRange
action.devices.commands.ThermostatTemperatureSetRange
Set a target temperature range for a thermostat device.
This command requires the following attributes:
{
  "availableThermostatModes": [
    "heatcool"
  ]
}
Parameters
| Parameters | Type | Description | 
|---|---|---|
thermostatTemperatureSetpointHigh | 
    Number | 
       Required. High target setpoint for the range. Requires   | 
  
thermostatTemperatureSetpointLow | 
    Number | 
       Required. Low target setpoint for the range. Requires   | 
  
Examples
Hold the temperature between 22 and 26 degrees.
{
  "command": "action.devices.commands.ThermostatTemperatureSetRange",
  "params": {
    "thermostatTemperatureSetpointHigh": 26,
    "thermostatTemperatureSetpointLow": 22
  }
}
Related errors
An error occurred setting the target range.
Supported values:
alreadyAtMaxalreadyAtMinlockedToRangerangeTooClosetargetAlreadyReachedvalueOutOfRange
action.devices.commands.ThermostatSetMode
Set the target operating mode for a thermostat device.
Parameters
| Parameters | Type | Description | 
|---|---|---|
thermostatMode | 
    String | 
       Required. Target mode, from the list of  Supported values: 
  | 
  
Examples
Set the device to heatcool mode.
{
  "command": "action.devices.commands.ThermostatSetMode",
  "params": {
    "thermostatMode": "heatcool"
  }
}
Related errors
An error occurred setting the target mode.
Supported values:
inAutoModeinAwayModeinDryModeinEcoModeinFanOnlyModeinHeatOrCoolinHumidifierModeinOffModeinPurifierMode
action.devices.commands.TemperatureRelative
Adjust the target temperature relative to the current state.
This command requires the following attributes:
{
  "commandOnlyTemperatureSetting": true
}
Parameters
The payload contains one of the following:
Adjust by degree.
| Parameters | Type | Description | 
|---|---|---|
thermostatTemperatureRelativeDegree | 
    Number | 
       Required. The exact number of degrees for the temperature to change (for example, "Turn down 5 degrees").  | 
  
Adjust by weight.
| Parameters | Type | Description | 
|---|---|---|
thermostatTemperatureRelativeWeight | 
    Integer | 
       Required. This indicates the amount of ambiguous temperature change from a small amount ("Turn down a little"), to a large amount ("A lot warmer").  | 
  
Examples
Increase temperature 5 degrees
{
  "command": "action.devices.commands.TemperatureRelative",
  "params": {
    "thermostatTemperatureRelativeDegree": 5
  }
}
Decrease the temperature a lot
{
  "command": "action.devices.commands.TemperatureRelative",
  "params": {
    "thermostatTemperatureRelativeWeight": -5
  }
}
Related errors
An error occurred adjusting the temperature.
Supported values:
alreadyAtMaxalreadyAtMinvalueOutOfRange
Sample utterances
de-DE
- 
        
          
            
Heizmodus anmachen - 
        
          
            Mach 
          
        
          
            
den Heizmodus aus - 
        
          
            Schalt 
          
        
          
            
den Heizmodus vom Thermostat aus - 
        
          
            Temperatur auf 
          
        
          
            
20 bis 25 Grad einstellen. - 
        
          
            
Thermostat auf20 bis 25 Grad stellen. - 
        
          
            
Thermostat im Schlafzimmer kälter stellen - 
        
          
            
Wohnzimmer aufKühlen umstellen - 
        
          
            bitte dreh 
          
        
          
            
das Thermostat ein bisschen herunter - 
        
          
            bitte dreh 
          
        
          
            
das Thermostat etwas höher - 
        
          
            bitte mach es 
          
        
          
            
im Wohnzimmer kühler - 
        
          
            bitte mach es 
          
        
          
            
in der Küche etwas kälter - 
        
          
            bitte stell 
          
        
          
            
das Thermostat 5 Grad wärmer ein - 
        
          
            bitte stell 
          
        
          
            
das Thermostat auf21 Grad für Kühlen ein - 
        
          
            bitte stell 
          
        
          
            
das Thermostat auf30 Grad  - 
        
          
            bitte stell die Temperatur 
          
        
          
            
im Schlafzimmer auf20 Grad  - 
        
          
            dreh 
          
        
          
            
das Thermostat wärmer bitte - 
        
          
            dreh die Temperatur 
          
        
          
            
im Schlafzimmer etwas nach oben - 
        
          
            dreh die Temperatur um 
          
        
          
            
5 Grad runter - 
        
          
            erhöhe bitte die Temperatur 
          
        
          
            
im Bad  - 
        
          
            erhöhe die Temperatur um 
          
        
          
            
2 Grad  - 
        
          
            mach es 
          
        
          
            
im Wohnzimmer 2 Grad wärmer - 
        
          
            senke die Temperatur 
          
        
          
            
im Wohnzimmer um5 Grad  - 
        
          
            stell bitte 
          
        
          
            
das Thermostat aufKühlen  - 
        
          
            stell 
          
        
          
            
das Thermostat 5 Grad kälter ein - 
        
          
            stell 
          
        
          
            
die Kühlung auf20 Grad ein 
en-US
- 
        
          
            Turn off 
          
        
          
            
heat mode. - 
        
          
            change 
          
        
          
            
the thermostat heat cool between 70 and 80  - 
        
          
            change to 
          
        
          
            
eco mode - 
        
          
            cool down in 
          
        
          
            
the living room  - 
        
          
            cool down 
          
        
          
            
the house a little  - 
        
          
            increase the temperature on 
          
        
          
            
the thermostat  - 
        
          
            maintain 
          
        
          
            
the thermostat heat at78  - 
        
          
            make it 
          
        
          
            
2 degrees warmer - 
        
          
            make it cooler by 
          
        
          
            
2 degrees  - 
        
          
            make 
          
        
          
            
thermostat warmera little bit  - 
        
          
            put on 
          
        
          
            
cooling mode - 
        
          
            put 
          
        
          
            
the thermostat oncool  - 
        
          
            raise the temperature 
          
        
          
            
downstairs by2 degrees  - 
        
          
            raise the temperature on 
          
        
          
            
thermostat by5 degrees  - 
        
          
            set 
          
        
          
            
70 degrees onthe thermostat  - 
        
          
            set 
          
        
          
            
heat cool mode tobetween 62 and 79 degrees  - 
        
          
            set my temperature 
          
        
          
            
80 degrees  - 
        
          
            set the 
          
        
          
            
heat to72  - 
        
          
            set the temperature to 
          
        
          
            
cool at70  - 
        
          
            set 
          
        
          
            
the thermostat at70 incool mode - 
        
          
            turn down 
          
        
          
            
5 degrees onthermostat  - 
        
          
            turn down 
          
        
          
            
the living room temp2 degrees  - 
        
          
            turn off 
          
        
          
            
thermostat heat mode - 
        
          
            turn 
          
        
          
            
thermostat a little lower - 
        
          
            turn 
          
        
          
            
thermostat lower - 
        
          
            warm up 
          
        
          
            
the living room  - 
        
          
            warm up 
          
        
          
            
the living room a little  
es-ES
- 
        
          
            
25 grados defrío enla cocina  - 
        
          
            Ajustar 
          
        
          
            
el termostato entre 21 y 26 grados  - 
        
          
            Ajustar la temperatura 
          
        
          
            
entre 21 y 27 grados  - 
        
          
            activar el modo 
          
        
          
            
calefacción  - 
        
          
            apagar 
          
        
          
            
el aire acondicionado deltermostato  - 
        
          
            aumenta 
          
        
          
            
10 grados la temperatura delhorno  - 
        
          
            aumenta la temperatura de 
          
        
          
            
la cocina  - 
        
          
            baja 
          
        
          
            
algo la calefacción  - 
        
          
            baja la temperatura 
          
        
          
            
5 grados  - 
        
          
            baja la temperatura del 
          
        
          
            
termostato  - 
        
          
            configurar el modo 
          
        
          
            
calefacción  - 
        
          
            disminuye la temperatura de 
          
        
          
            la cocina
          
        
          
             
          
        
          
            
un poco  - hace demasiado calor aquí
 - 
        
          
            me ajustas a 
          
        
          
            
25 grados el modocalor  - 
        
          
            me gustaría ajustar 
          
        
          
            
el termostato del salón a25 grados conla calefacción  - 
        
          
            pon a 
          
        
          
            
20 grados la temperatura - 
        
          
            pon en modo 
          
        
          
            
calefacción el termostato de la cocina  - 
        
          
            pon la temperatura de 
          
        
          
            
la cocina a20 grados  - 
        
          
            puedes subir 
          
        
          
            
un poco la temperatura enel salón  - 
        
          
            quiero bajar 
          
        
          
            
el nest 5 grados  - 
        
          
            quiero el modo 
          
        
          
            
aire acondicionado a25 grados  - 
        
          
            quitar el modo 
          
        
          
            
frío delbaño  - 
        
          
            sube 
          
        
          
            
5 grados enla cocina  - 
        
          
            sube 
          
        
          
            
la calefacción  - 
        
          
            súbeme 
          
        
          
            
el termostato del salón un poquito  - 
        
          
            súbeme más la temperatura 
          
        
          
            
10 grados  
fr-FR
- 
        
          
            Allumer le mode 
          
        
          
            
chaud . - 
        
          
            Mets en mode 
          
        
          
            
chaud . - 
        
          
            Mets la température 
          
        
          
            
entre 21 et 23 degrés . - 
        
          
            Mets la température à 
          
        
          
            
17 degrés . - 
        
          
            Mets le mode 
          
        
          
            
froid duthermostat à19 degrés . - 
        
          
            Mettre le mode 
          
        
          
            
froid à19 degrés . - 
        
          
            Mettre 
          
        
          
            
le thermostat entre 70 et 80 degrés . - 
        
          
            Régler le mode 
          
        
          
            
chaud duthermostat à22 degrés . - 
        
          
            Régler le mode 
          
        
          
            
chaud à22 degrés . - 
        
          
            augmente la température de 
          
        
          
            
2 degrés  - 
        
          
            augmente 
          
        
          
            
un peu la température dans la chambre - 
        
          
            baisse la température de 
          
        
          
            
la chambre  - 
        
          
            baisse 
          
        
          
            
le thermostat  - 
        
          
            baisse 
          
        
          
            
un peu la température dansla cuisine  - 
        
          
            baisse 
          
        
          
            
un peu le thermostat  - 
        
          
            baisser 
          
        
          
            
le thermostat de5 degrés  - 
        
          
            coupe le mode 
          
        
          
            
chaud  - 
        
          
            descends la température de 
          
        
          
            
3 degrés  - 
        
          
            désactiver le mode 
          
        
          
            
frais duthermostat  - 
        
          
            mets 
          
        
          
            
le thermostat en modefrais  - 
        
          
            mets 
          
        
          
            
le thermostat à10 degrés  - 
        
          
            mettre 
          
        
          
            
2 degrés de moins dansla cuisine  - monte la température de la chambre
 - 
        
          
            monte la température de 
          
        
          
            
la salle de bain de3 degrés  - 
        
          
            monte 
          
        
          
            
le thermostat  - 
        
          
            monte 
          
        
          
            
le thermostat de2 degrés  - 
        
          
            monte 
          
        
          
            
un peu le thermostat  - 
        
          
            Éteins le mode 
          
        
          
            
chaud duthermostat .