light_mode

Data type: ENUM.

Method of use: a device status is stored and can be changed.

Purpose: controls operating mode of a lighting device:

  • white means white color. The device light is white.
  • colour means color mode. For example, the lamp shines orange.

Devices having this feature

Sample voice commands

Note that currently only commands in Russian are supported. The translation of the commands into English is given in parentheses.

Sample commands:

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

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

Function description for a device model

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

Sample description of a function state

The sample describes a device that operates in color mode.

{
    "states": [
        {
            "key": "light_mode",
            "value": {
                "type": "ENUM",
                "type_value": "colour"
            }
        }
    ]
}