air_pressure
Last updated on April 4, 2025
Data type: INTEGER(200, 800).
Usage method: stores the device state without changing it.
Purpose: shows the current atmospheric pressure. Measured in mm Hg, can take a value from 200 to 800 mm Hg with an interval of 1 mm Hg.
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.
Examples of voice commands
No voice commands are available.
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"air_pressure",
// ...
]
Function state description example
In this example, the sensor reports that the air pressure is 720 mm Hg.
{
"states": [
{
"key": "air_pressure",
"value": {
"type": "INTEGER",
"integer_value": "720"
}
}
]
}