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
.
availableThermostatModes
Required.
Describes the thermostat modes this device can support.
0
Deprecated
Comma-separated list of modes supported by this specific device. New integrations should use the Array
form of this attribute.
1
List of modes supported by this specific device.
[ item, ...
]
Name of the supported mode.
Supported values:
-
off
- Heating/Cooling activity disabled
-
heat
- Device supports heating
-
cool
- Device supports cooling
-
on
- Restore the previous mode of the device. The
on
mode does not appear in the mode selection screen because theon
mode, by design, is used to restore the previous mode of the device. -
heatcool
- Maintaining heating/cooling target as a range
-
auto
- Automatic mode with temperature set by a schedule or learned behavior
-
fan-only
- Fan running without heat/cool activity
-
purifier
- Purifying mode
-
eco
- Energy-saving mode
-
dry
- Dry mode
thermostatTemperatureRange
Contains two float values that indicate the supported temperature range for this device (in degrees Celsius).
minThresholdCelsius
Required.
Minimum threshold of the temperature range.
maxThresholdCelsius
Required.
Maximum threshold of the temperature range.
thermostatTemperatureUnit
Required.
The display unit the device is set to by default. Google reports temperature information using the display unit.
Supported values:
-
C
-
F
bufferRangeCelsius
(Default: 2
)
Specifies the minimum offset between heat-cool setpoints in degrees Celsius, if heatcool
mode is supported.
commandOnlyTemperatureSetting
(Default: false
)
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
(Default: false
)
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
.
activeThermostatMode
Currently active mode of the device, from the list of availableThermostatModes
. If no mode is currently active, set to none
.
Supported values:
-
none
- No active mode
-
off
- Heating/Cooling activity disabled
-
heat
- Device supports heating
-
cool
- Device supports cooling
-
on
- Restore the previous mode of the device. The
on
mode does not appear in the mode selection screen because theon
mode, by design, is used to restore the previous mode of the device. -
heatcool
- Maintaining heating/cooling target as a range
-
auto
- Automatic mode with temperature set by a schedule or learned behavior
-
fan-only
- Fan running without heat/cool activity
-
purifier
- Purifying mode
-
eco
- Energy-saving mode
-
dry
- Dry mode
targetTempReachedEstimateUnixTimestampSec
A timestamp representing the estimated time when the target temperature will be reached.
thermostatHumidityAmbient
Represents the relative level of the ambient humidity, if supported by the device.
0
States for fixed set point.
thermostatMode
Required.
Current mode of the device, from the list of availableThermostatModes
.
Supported values:
-
none
- No active mode
-
off
- Heating/Cooling activity disabled
-
heat
- Device supports heating
-
cool
- Device supports cooling
-
on
- Restore the previous mode of the device
-
heatcool
- Maintaining heating/cooling target as a range
-
auto
- Automatic mode with temperature set by a schedule or learned behavior
-
fan-only
- Fan running without heat/cool activity
-
purifier
- Purifying mode
-
eco
- Energy-saving mode
-
dry
- Dry mode
thermostatTemperatureAmbient
Required.
Current observed temperature, in degrees Celsius.
thermostatTemperatureSetpoint
Required.
Current temperature set point (single target), in degrees Celsius.
1
States for set point range.
thermostatMode
Required.
Current mode of the device, from the list of availableThermostatModes
.
Supported values:
-
none
- No active mode
-
off
- Heating/Cooling activity disabled
-
heat
- Device supports heating
-
cool
- Device supports cooling
-
on
- Restore the previous mode of the device
-
heatcool
- Maintaining heating/cooling target as a range
-
auto
- Automatic mode with temperature set by a schedule or learned behavior
-
fan-only
- Fan running without heat/cool activity
-
purifier
- Purifying mode
-
eco
- Energy-saving mode
-
dry
- Dry mode
thermostatTemperatureAmbient
Required.
Current observed temperature, in degrees Celsius.
thermostatTemperatureSetpointHigh
Required.
Current high point if in heatcool
mode, for a range.
thermostatTemperatureSetpointLow
Required.
Current low point if in heatcool
mode, for a range.
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:
-
alreadyAtMax
-
alreadyAtMin
-
targetAlreadyReached
-
valueOutOfRange
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:
-
alreadyAtMax
-
alreadyAtMin
-
lockedToRange
-
rangeTooClose
-
targetAlreadyReached
-
valueOutOfRange
action.devices.commands.ThermostatSetMode
Set the target operating mode for a thermostat device.
Parameters
thermostatMode
Required.
Target mode, from the list of availableThermostatModes
.
Supported values:
-
off
- Heating/Cooling activity disabled
-
heat
- Device supports heating
-
cool
- Device supports cooling
-
on
- Restore the previous mode of the device
-
heatcool
- Maintaining heating/cooling target as a range
-
auto
- Automatic mode with temperature set by a schedule or learned behavior
-
fan-only
- Fan running without heat/cool activity
-
purifier
- Purifying mode
-
eco
- Energy-saving mode
-
dry
- Dry mode
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:
-
inAutoMode
-
inAwayMode
-
inDryMode
-
inEcoMode
-
inFanOnlyMode
-
inHeatOrCool
-
inHumidifierMode
-
inOffMode
-
inPurifierMode
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:
-
alreadyAtMax
-
alreadyAtMin
-
valueOutOfRange
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 .