ym88659208ym87991671
Function light_mode | Documentation for developers

light_mode

Last updated on June 17, 2024

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.

The Sber Smart Home does not yet support devices operating simultaneously in both modes: at one point in time, either the white mode or the colour mode can be turned on at the lighting device. Both cannot be enabled at once.

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

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

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

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.