open_rate
Data type: ENUM.
Usage method: stores the device state and can change it.
Purpose: manages the device's opening speed:
auto
– automatic speed.low
– low speed.medium
– medium speed.high
– high speed.
When describing the device model, the list of available operation modes of a function can be shortened.
Devices with this function
- curtain – curtains.
- gate – gates.
- window_blind – louvered blinds, roll blinds.
Examples of voice commands
— Салют, сделай скорость открытия штор низкой (Salute, switch the curtains to the low opening speed)
— Салют, нужно, чтобы ворота открывались на средней скорости (Salute, make the gate open at the medium speed)
— Салют, открой рулонную штору на высокой скорости (Salute, open a roller blind at the high speed)
— Салют, установи низкую скорость открытия ворот (Salute, set a low opening speed for the gate)
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"open_rate",
// ...
]
Function state description example
The example describes a device with a low opening speed.
{
"states": [
{
"key": "open_rate",
"value": {
"type": "ENUM",
"enum_value": "low"
}
}
]
}