Function on_off | Documentation for developers
Skip to main content


Last updated on November 25, 2022

Data type: BOOL.

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

Purpose: manages the device state:

  • true – the device is on. E.g. the light is on.
  • false – the device is off. E.g. the light was turned off via the Salute app.

Devices with this function

Examples of voice commands

— Салют, включи лампу (Salute, turn on the lamp)

— Салют, выключи розетку (Salute, turn off the socket)

Function description for a device model

"features": [
// ...

Function state description example

The example describes a switched-off device.

"states": [
"key": "on_off",
"value": {
"type": "BOOL",
"bool_value": false