ym88659208ym87991671
Function number | Documentation for developers

number

Last updated on April 4, 2025

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, 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

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"
}
}
]
}
Sber process cookies only to personalize services according to Cookies Usage Policy. You can prevent the processing of cookies in your browser settings.