light_colour
Last updated on November 25, 2022
Data type: COLOUR.
Usage method: stores the device state and can change it.
Purpose: manages the lighting colour. Colours are transmitted according to the HSV colour model. Allowed value:
- h: 0–360
- s: 0–1000
- v: 0–1000
Devices with this function
Examples of voice commands
— Салют, поменяй цвет лампы на синий (Salute, make the lamp light blue)
— Салют, измени цвет ночной подсветки на фиолетовый (Salute, make the night light violet)
Function description for a device model
"features": [
"light_colour",
// ...
]
Function state description example
The example describes a device emitting blue-colored light.
{
"states": [
{
"key": "light_colour",
"value": {
"type": "COLOUR",
"colour_value": { "h": 240, "s": 100, "v": 100 }
}
}
]
}