ym88659208ym87991671
Function vacuum_cleaner_status | Documentation for developers

vacuum_cleaner_status

Last updated on June 17, 2024

Data type: ENUM.

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

Purpose: manages the device status:

  • cleaning — cleaning.
  • docked — on the dock.
  • pause — pause.
  • returning_to_dock — return to the dock.

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

Devices with this function

vacuum_cleaner — vacuum cleaners.

Examples of voice commands

— Салют, запусти уборку (Salute, start cleaning)

— Салют, вернись на базу (Salute, return to the dock)

— Салют, перестань пылесосить квартиру (Salute, stop vacuuming the apartment)

— Салют, возобнови уборку (Salute, resume cleaning)

Function description for a device model

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

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

Function state description example

The example describes a device that is currently cleaning the room.

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