child_lock

Data type: BOOL.

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

Purpose: controls the child lock:

  • true – the lock is on. For example, the power button on the socket is blocked: it does not respond to pressing.
  • false – the lock is off. For example, the power button on the socket body is unlocked: when you press the button, the socket turns on and off.

Devices with this feature

socket – sockets, extension cords, etc.

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, block the socket)

— Салют, разблокируй удлинитель (Salute, unlock the extension cord)

Function description in the device model

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

Sample description of a function state

The sample describes a device with the child lock on.

{
    "states": [
        {
            "key": "child_lock",
            "value": {
                "type": "BOOL",
                "bool_value": true
            }
        }
    ]
}