ym88659208ym87991671
Function air_pressure | Documentation for developers

air_pressure

Last updated on June 17, 2024

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, the range and interval of values taken by the function can be changed.

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