ym88659208ym87991671
voltage | Documentation for developers

voltage

Last updated on April 4, 2025

Data type: INTEGER(0, 5000).

Usage method: stores the device state without changing it.

Purpose: shows the voltage applied to the connected device. E.g. on an iron connected to the socket. It takes values from the range of 0-5,000 at an interval of 1 V.

When describing the device model, you can shorten the range of values accepted by the function or change their interval. For more information, see Allowed values of functions.

Devices with this function

  • socket – sockets, extension cables, etc.
  • relay – relay.

Examples of voice commands

The user cannot manage the function; no voice commands provided for it.

Function description for a device model

The function must be added to the model descriptions of all devices that support it.

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

Function state description example

The example describes a device at a voltage of 230 V.

{
"states": [
{
"key": "voltage",
"value": {
"type": "INTEGER",
"integer_value": "230"
}
}
]
}
Sber process cookies only to personalize services according to Cookies Usage Policy. You can prevent the processing of cookies in your browser settings.