Function light_mode | Documentation for developers


Last updated on May 25, 2023

Data type: ENUM.

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

Purpose: manages the operation mode of the illumination device:

  • white – white colour. The device transmits the white light.
  • colour – colour mode. E.g. the lamp light colour is orange.

Devices with this function

Examples of voice commands

— Салют, поменяй цвет лампы на белый (Salute, make the lamp light white)

— Салют, сделай ночную подсветку синей (Salute, make the night light blue)

Function description for a device model

"features": [
// ...

Function state description example

The example describes a device functioning in the colour mode.

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