ym88659208ym87991671
Function open_right_percentage | Documentation for developers

open_right_percentage

Last updated on April 4, 2025

Data type: INTEGER(0, 100).

Usage method: stores the device state and can change it.

Purpose: manages the device's right side opening. It takes values from the range of 0-100% at an interval of 5%. 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.

When changing the value of open_right_percentage, that of open_percentage must change respectively.

Devices with this function

Examples of voice commands

— Салют, закрой правую часть ворот на 90% (Salute, close the right side of the gate at 90%)

— Салют, раздвинь правую сторону шторы наполовину (Salute, open the half of the right side of the curtains)

Function description for a device model

The function must be added to the model descriptions of all devices that support it.

"features": [
"open_right_percentage",
// ...
]

Function state description example

In this example, the device's right side is opened at 30%.

{
"states": [
{
"key": "open_right_percentage",
"value": {
"type": "INTEGER",
"integer_value": "30"
}
}
]
}
Sber process cookies only to personalize services according to Cookies Usage Policy. You can prevent the processing of cookies in your browser settings.