ym88659208ym87991671
Function child_lock | Documentation SmartMarket
Skip to main content

child_lock

Data type: BOOL.

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

Purpose: manages the child safety lock:

  • true – lock on. E.g. there is a blocked power button on the socket: it does not respond if pressed.
  • false – lock off. E.g. the power button on the socket is unblocked: if pressed, it turns on/off.

Devices with this function

socket sockets, extension cables, etc.

Examples of voice commands

— Салют, заблокируй розетку (Salute, lock the socket)

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

Function description for a device model

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

Function state description example

The example describes a device with a switched-on safety child lock.

{
"states": [
{
"key": "child_lock",
"value": {
"type": "BOOL",
"bool_value": true
}
}
]
}
Last updated on August 26, 2022