ym88659208ym87991671
Function light_mode | Documentation SmartMarket
Skip to main content

light_mode

Data type: ENUM.

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

Purpose: manages the operation mode of the illumination device:

  • white – white color. 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": [
"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"
}
}
]
}
Last updated on August 26, 2022