current

Data type: INTEGER(0, 30000).

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

Purpose: shows the electric charge flowing through a device at the moment. For example, the current required by an iron plugged into a socket. Returns values from 0 to 30,000. Specified in milliamps.

Devices with this feature

socket – sockets, extension cords, etc.

Sample voice commands

Users cannot use the function, there are no voice commands.

Function description in the device model

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

Sample description of a function state

The sample describes a device through which a current of 9000 mA flows.

{
    "states": [
        {
            "key": "current",
            "value": {
                "type": "INTEGER",
                "integer_value": "9000"
            }
        }
    ]
}