open_right_state
Last updated on June 17, 2024
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
The function must be added to the model descriptions of all devices that support it.
"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"
}
}
]
}