devices.types.sensor.water_leak
A device that detects water leaks.
Examples of devices
Water leak sensor.
Device control phrases
Each device type has a specific set of phrases. The user can control the device using these phrases without specifying the device name.
- Phrases:
-
Yasmina, what are the water leak sensor readings?
Yasmina, when was there a water leak in the bathroom?
- Open the Yango Play app.
- Select the desired device in the list of devices.
- Go to the Device section at the bottom of the page.
- Tap Device.
Recommended capabilities
Any available capabilities describing the device features.
Recommended properties for devices
The table of properties is based on popular device functions in a given category. It provides general recommendations for describing devices. Yango Smart Home does not restrict the provider to the specified list. You can combine properties and devices as you wish based on your awareness of the device features.
Property type. | Instances |
---|---|
devices.properties.event | Function: |
Property type. | Instances |
---|---|
devices.properties.event | Function: |
Examples of capability and property descriptions
These structures are sent in response to the device list request.
{
"capabilities": [],
"properties": [
{
"type": "devices.properties.event",
"retrievable": true,
"reportable": true,
"parameters": {
"instance": "water_leak",
"events": [
{
"value": "dry",
"name": "no leak"
},
{
"value": "leak",
"name": "leak"
}
]
},
"state": {
"instance": "water_leak",
"value": "dry"
},
"state_changed_at": "2022-10-18T15:53:54Z",
"last_updated": "2022-10-18T15:53:54Z"
}
]
}