ym88659208ym87991671
Function open_state | Documentation for developers

open_state

Last updated on January 18, 2023

Data type: ENUM.

Usage method: stores the device state without changing it.

Purpose: shows the device's opening status:

  • open – opened.
  • close – closed.
  • opening – is opening.
  • closing – is closing.

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, what's up with the curtains?)

— Салют, в каком положении ворота? (Salute, what is the position of the gate?)

— Салют, подняты ли жалюзи? (Salute, are the louvered blinds open?)

— Салют, проверь состояние крана в ванной (Salute, check the condition of the valve in the bathroom)

Function description for a device model

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

Function state description example

The example describes a device whose state is open.

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