ym88659208ym87991671
water_leak_state | Documentation for developers

water_leak_state

Last updated on January 18, 2023

Data type: BOOL.

Usage method: stores the device state without changing it.

Purpose: indicates whether a leak has been detected (is there water on the sensor):

  • true – there is water on the sensor.
  • false – there is no water on the sensor.

Devices with this function

sensor_water_leak – leak sensors.

Examples of voice commands

— Салют, нет ли протечки в ванной? (Salute, is there a leak in the bathroom?)

— Салют, проверь, не сработал ли датчик протечки на кухне? (Salute, check if the leak sensor in the kitchen went off?)

Function description for a device model

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

Function state description example

In the example, the sensor detected a water leak.

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