direction
Last updated on November 5, 2024
Data type: ENUM.
Usage method: does not store the device state but can change it.
Purpose: controls the movement of the cursor, for example, through the TV menu:
up
— move up.down
— move down.left
— move left.right
— move right.
When describing the device model, the list of available operations can be shortened.
Devices with this function
tv — TV.
Examples of voice commands
— Салют, вверх (Salute, up)
— Салют, вправо (Salute, to the right)
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"direction",
// ...
]
Function state description example
In the example, the TV cursor is moved up.
{
"states": [
{
"key": "direction",
"value": {
"type": "ENUM",
"enum_value": "up"
}
}
]
}