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
- sensor_temp – temperature and humidity sensors.
- hvac_boiler – boilers, heating controllers.
- hvac_heater – heaters.
- hvac_radiator – thermostats.
- hvac_underfloor_heating – heated floors.
- hvac_ac – air conditioners.
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"
}
}
]
}