ym88659208ym87991671
Function open_rate | Documentation for developers

open_rate

Last updated on June 17, 2024

Data type: ENUM.

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

Purpose: manages the device's opening speed:

  • auto – automatic speed.
  • low – low speed.
  • medium – medium speed.
  • high – high speed.

When describing the device model, the list of available operation modes of a function can be shortened.

Devices with this function

Examples of voice commands

— Салют, сделай скорость открытия штор низкой (Salute, switch the curtains to the low opening speed)

— Салют, нужно, чтобы ворота открывались на средней скорости (Salute, make the gate open at the medium speed)

— Салют, открой рулонную штору на высокой скорости (Salute, open a roller blind at the high speed)

— Салют, установи низкую скорость открытия ворот (Salute, set a low opening speed for the gate)

Function description for a device model

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

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

Function state description example

The example describes a device with a low opening speed.

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