humidity
Data type: INTEGER(0, 100).
Usage method: stores the device state without changing it.
Purpose: shows the current humidity level. It takes a value from the range of 0-100% at an interval of 1%.
When describing the device model, you can shorten the range of values accepted by the function or change their interval. For more information, see Allowed values of functions.
Devices with this function
- sensor_temp – temperature and humidity sensors.
- hvac_humidifier – air humidifiers.
- hvac_ac – air conditioners.
Examples of voice commands
— Салют, какой уровень влажности в детской? (Salute, what is the humidity level in the children's room?)
— Салют, какой уровень влажности на увлажнителе? (Salute, what humidity level does the humidifier show?)
— Салют, какая влажность на кондиционере? (Salute, what humidity level does the air conditioner show?)
— Салют, уровень влажности на датчике температуры и влажности (Salute, the humidity level on the temperature and humidity sensor)
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"humidity",
// ...
]
Function state description example
The example describes a sensor reporting that the humidity is 60%.
{
"states": [
{
"key": "humidity",
"value": {
"type": "INTEGER",
"integer_value": "60"
}
}
]
}