hcho_float (formaldehyde concentration)
Last updated on June 23, 2026
Data type: FLOAT(0, 1.999)
Usage method: stores the device state without changing it.
Purpose: shows the current HCHO level in mg/m3 (milligrams per cubic meter). It takes a value from the range of 0-1,999 mg/m3.
Devices with this function
sensor_air — air quality sensor.
Examples of voice commands
— Салют, какой уровень формальдегида? (Salute, what is the level of formaldehyde?)
— Салют, проверь воздух на содержание формальдегида. (Salute, check the air for formaldehyde content.)
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"hcho_float",
// ...
]
Function state description example
The example describes a sensor reporting that the HCHO level is 0,205 mg/m3.
{
"states": [
{
"key": "hcho_float",
"value": {
"type": "FLOAT",
"float_value": "0.205"
}
}
]
}