ym88659208ym87991671
Function temperature | Documentation SmartMarket
Skip to main content

temperature

Data type: INTEGER(-400, 2000).

Usage method: stores the device state without changing it.

Purpose: shows the current temperature. It takes values from the range of -400-2,000 at an interval of 0.1 degree. When describing the device model, the range and interval of values taken by the function can be changed.

Devices with this function

Examples of voice commands

— Салют, какая температура в детской? (Salute, what is the temperature in the children's room?)

— Салют, сколько градусов на веранде? (Salute, how many degrees is the temperature on the patio?)

— Салют, какая температура на обогревателе? (Salute, what is the temperature of the heater?)

Function description for a device model

"features": [
"temperature",
// ...
]

Function state description example

The example describes a sensor reporting that the temperature is 22 C.

{
"states": [
{
"key": "temperature",
"value": {
"type": "INTEGER",
"integer_value": "220"
}
}
]
}
Last updated on August 26, 2022