channel (switching on the previous or next channel)
Last updated on November 5, 2024
Data type: ENUM.
Usage method: does not store the device state but can change it.
Purpose: controls switching to the previous or next channel:
+
— the next channel.-
— the previous channel.
When describing the device model, the list of available operations can be shortened.
Devices with this function
tv — TV.
Examples of voice commands
— Салют, переключи канал на ТВ на следующий (Salute, switch the TV channel to the next one)
— Салют, включи предыдущий канал на телеке (Salute, turn on the previous channel on TV)
— Салют, следующий канал на телевизоре (Salute, the next channel on the TV)
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"channel",
// ...
]
Function state description example
In the example, the following channel is turned on on the TV.
{
"states": [
{
"key": "channel",
"value": {
"type": "ENUM",
"enum_value": "+"
}
}
]
}