ym88659208ym87991671
Function open_set | Documentation for developers

open_set

Last updated on June 17, 2024

Data type: ENUM.

Usage method: does not store the device state but can change it.

Purpose: manages the device's opening:

  • open – open.
  • close – close.
  • stop – stop.

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, open the gate)

— Салют, закрой ворота (Salute, close the gate)

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

— Салют, подними жалюзи (Salute, raise the blinds)

— Салют, останови ворота (Salute, stop the gate)

— Салют, останови поднятие жалюзи (Salute, stop raising the blinds)

— Салют, не закрывай шторы (Salute, don't close the curtains)

— Салют, ворота – стоп (Salute, gate – stop)

— Салют, закрой воду в кладовой (Salute, close the water in the pantry)

Function description for a device model

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

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

Function state description example

The example describes a device whose state is open.

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