ym88659208ym87991671
Function open_left_percentage | Documentation for developers
Skip to main content

open_left_percentage

Last updated on August 26, 2022

Data type: INTEGER(0, 100).

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

Purpose: manages the device's left side 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.

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

Devices with this function

Examples of voice commands

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

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

Function description for a device model

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

Function state description example

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

{
"states": [
{
"key": "open_left_percentage",
"value": {
"type": "INTEGER",
"integer_value": "30"
}
}
]
}