ym88659208ym87991671
Function vacuum_cleaner_cleaning_type | Documentation for developers

vacuum_cleaner_cleaning_type

Last updated on June 17, 2024

Data type: ENUM.

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

Purpose: manages type of cleaning:

  • dry — dry cleaning.
  • wet — wet cleaning.
  • mixed — dry and wet cleaning.

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

Do not add a cleaning type to a model unless the user can control the cleaning type. For example, if the cleaning type is selected automatically depending on the nozzle used.

Devices with this function

vacuum_cleaner — vacuum cleaners.

Examples of voice commands

— Салют, включи сухую уборку на пылесосе (Salute, turn on the dry cleaning on the vacuum cleaner)

— Салют, установи сухую и влажную уборку на пылесосе (Salute, set dry and wet cleaning on the vacuum cleaner)

Function description for a device model

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

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

Function state description example

The example describes a device whose selected type of cleaning is "wet cleaning".

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