ym88659208ym87991671
Function open_percentage | Documentation for developers

open_percentage

Last updated on January 18, 2023

Data type: INTEGER(0, 100).

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

Purpose: manages the device's opening It takes values from the range of 0-100% at an interval of 5%. When describing the device model, the range and interval of values taken by the function can be changed.

Devices with this function

Examples of voice commands

— Салют, распахни ворота на 90% (Salute, open the gate at 90%)

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

— Салют, опусти рулонные шторы на две трети (Salute, close roller blinds at two thirds)

Function description for a device model

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

Function state description example

In this example, the device is opened at 30%.

{
"states": [
{
"key": "open_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.