channel_int
Last updated on April 4, 2025
Data type: INTEGER(0, 999).
Usage method: stores the device state and can change it.
Purpose: the channel number. Takes values from 0 to 999 in increments of 1. When describing the device model, you can shorten the range of values accepted by the function or change their interval. For more information, see Allowed values of functions.
Devices with this function
tv — TV.
Examples of voice commands
— Салют, включи 12 канал на телевизоре (Salute, turn on channel 12 on the TV)
— Салют, запусти канал номер 1 на телевизоре (Salute, turn on channel number 1 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_int",
// ...
]
Function state description example
In the example, channel number 11 is turned on on the device.
{
"states": [
{
"key": "channel_int",
"value": {
"type": "INTEGER",
"integer_value": "11"
}
}
]
}