ym88659208ym87991671
Function volume_int | Documentation for developers

volume_int

Last updated on November 5, 2024

Data type: INTEGER(0, 999).

Usage method: stores the device state and can change it.

Purpose: the volume level of the device. It takes values from 0 to 100 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

— Салют, установи громкость на телевизоре на 23 (Salute, set the volume on the TV to 23)

— Салют, сделай минимальную громкость на ТВ (Salute, set the minimum volume on TV)

Function description for a device model

The function must be added to the model descriptions of all devices that support it.

"features": [
"volume_int",
// ...
]

Function state description example

In the example, the volume on the TV is set to 30.

{
"states": [
{
"key": "volume_int",
"value": {
"type": "INTEGER",
"integer_value": "30"
}
}
]
}
Sber process cookies only to personalize services according to Cookies Usage Policy. You can prevent the processing of cookies in your browser settings.