number
Last updated on November 5, 2024
Data type: INTEGER(0, 9).
Usage method: does not store the device state but can change it.
Purpose: notifies which digital button was pressed on the remote control. Takes values from 0 to 9 in increments of 1. When describing the device model, the range and interval of values taken by the function can be changed.
Devices with this function
tv — TV.
Examples of voice commands
No voice commands are available.
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"number",
// ...
]
Function state description example
The example describes a device on whose remote control the number 1 was pressed.
{
"states": [
{
"key": "number",
"value": {
"type": "INTEGER",
"integer_value": "1"
}
}
]
}