light_transmission_percentage
Data type: INTEGER(0, 100).
Usage method: stores the device state and can change it.
Purpose: manages the light transmission. It takes values from the range of 0-100% at an interval of 10%. When describing the device model, the range and interval of values taken by the function can be changed.
Devices with this function
window_blind – louvered blinds, roll blinds.
Examples of voice commands
— Салют, установи пропускание света для жалюзи на 60% (Salute, set the light transmission for the louvered blinds to 60%)
— Салют, сделай пропускание света для рулонной шторы на 30% (Salute, set the light transmission for the roller blinds to 30%)
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"light_transmission_percentage",
// ...
]
Function state description example
In this example, the user set the transmission level at 80% to make the room lighter.
{
"states": [
{
"key": "light_transmission_percentage",
"value": {
"type": "INTEGER",
"integer_value": "80"
}
}
]
}