ym88659208ym87991671
Function open_right_state | Documentation for developers
Skip to main content

open_right_state

Last updated on August 26, 2022

Data type: ENUM.

Usage method: stores the device state without changing it.

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

If the value of open_right_state changed, that of open_state must change respectively.

Devices with this function

Examples of voice commands

— Салют, что с правой стороной шторы? (Salute, what's up with the right side of the curtains?)

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

Function description for a device model

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

Function state description example

The example describes a device whose right side is open.

{
"states": [
{
"key": "open_right_state",
"value": {
"type": "ENUM",
"enum_value": "open"
}
}
]
}