ym88659208ym87991671
Function vacuum_cleaner_command | Documentation for developers

vacuum_cleaner_command

Last updated on September 24, 2023

Data type: ENUM.

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

Purpose: device management command:

  • start — start cleaning.
  • pause — pause cleaning.
  • return_to_dock — return to the base.
  • resume — resume cleaning.

When describing the device model, the list of available commands can be reduced.

Devices with this function

vacuum_cleaner — vacuum cleaners.

Examples of voice commands

— Салют, включи пылесос (Salute, turn on the vacuum cleaner)

— Салют, верни пылесос на базу (Salute, return the vacuum cleaner to the base)

Function description for a device model

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

Function state description example

The example describes the device to which the command to return to the base was transmitted.

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