ym88659208ym87991671
Function temperature | Documentation for developers

temperature

Last updated on August 20, 2024

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

The function must be added to the model descriptions of all devices that support it.

"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"
}
}
]
}
Sber process cookies only to personalize services according to Cookies Usage Policy. You can prevent the processing of cookies in your browser settings.