ym88659208ym87991671
Function open_set | Documentation for developers
Skip to main content

open_set

Last updated on August 26, 2022

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)

Function description for a device model

"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"
}
}
]
}