ym88659208ym87991671
Function volume | Documentation for developers

volume

Last updated on November 5, 2024

Data type: ENUM.

Usage method: does not store the device state but can change it.

Purpose: controls the volume level of the device:

  • + — make it louder.
  • - — make it quieter.

When describing the device model, the list of available volume levels can be shortened.

Devices with this function

tv — TV.

Examples of voice commands

— Салют, сделай громкость на ТВ выше (Salute, turn up the volume on TV)

— Салют, сделай телевизор тише (Salute, turn the TV down)

Function description for a device model

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

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

Function state description example

In the example, the volume of the TV is reduced.

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