open_left_state
Last updated on June 17, 2024
Data type: ENUM.
Usage method: stores the device state without changing it.
Purpose: shows the device's left 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.
When changing the value of open_left_state, that of open_state must change respectively.
Devices with this function
Examples of voice commands
— Салют, что с левой частью шторы? (Salute, what's up with the left side of the curtains?)
— Салют, в каком положении левая часть ворот? (Salute, what is the position of the left side of 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_left_state",
    // ...
]
Function state description example
The example describes a device whose left side is open.
{
    "states": [
        {
            "key": "open_left_state",
            "value": {
                "type": "ENUM",
                "enum_value": "open"
            }
        }
    ]
}