kitchen_water_level
Last updated on June 17, 2024
Data type: FLOAT(0, 50).
Usage method: stores the device state without changing it.
Purpose: показывает количество воды в устройстве. Может принимать значение от 0 до 50 литров.
When describing the device model, the range and interval of values taken by the function can be changed.
Devices with this function
kettle – kettles.
Examples of voice commands
— Салют, сколько воды в чайнике? (Salute, how much water is in the kettle?)
— Салют, какое количество воды в чайнике? (Salute, what is the amount of water in the kettle?)
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"kitchen_water_level",
// ...
]
Function state description example
In this example, the kettle's contains 1l of water.
{
"states": [
{
"key": "kitchen_water_level",
"value": {
"type": "FLOAT",
"float_value": 1
}
}
]
}