voltage

Data type: INTEGER(0, 5000).

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

Purpose: indicates the voltage supplied to a connected device. For example, an iron plugged into a socket. Returns values from 0 to 5,000. Measured in volts.

Devices having this feature

socket – sockets, extension cords, etc.

Sample voice commands

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

Function description for a device model

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

Sample description of a function state

The sample describes a 230 V device.

{
    "states": [
        {
            "key": "voltage",
            "value": {
                "type": "INTEGER",
                "integer_value": "230"
            }
        }
    ]
}