light_colour

Data type: COLOUR.

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

Purpose: manages the light color. The color is rendered in the HSV color model. Available values:

  • h: 0–360
  • s: 0–1,000
  • v: 0–1,000

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 blue)

— Салют, измени цвет ночной подсветки на фиолетовый (Salute, change the night lighting color to violet)

Function description for a device model

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

Sample description of a function state

The sample describes a device that gives blue light.

{
    "states": [
        {
            "key": "light_colour",
            "value": {
                "type": "COLOUR",
                "colour_value": {"h":240,"s":100,"v":100}
            }
        }
    ]
}