Water leak sensor (S900W-ZG)¶
This documentation was generated from: s900w-zg_water_leak_sensor.json
| Attribute | Value |
|---|---|
| status | Silver |
| product | Water leak sensor (S900W-ZG) |
| modelid | WaterLeakageSensor-ZB3.0 |
| manufacturername | Shyugj |
1. ZHAWater¶
Endpoint: /sensors
Top level attributes¶
| Attribute | Datatype | Description | Access |
|---|---|---|---|
| lastannounced | ISO 8601 timestamp | Timestamp of the last power-cyle or rejoin. | R |
| lastseen | ISO 8601 timestamp | Timestamp of the last communication. | R |
| manufacturername | String | "Shyugj" | R |
| modelid | String | "WaterLeakageSensor-ZB3.0" | R |
| name | String | Name of the resource. | RW |
| swversion | String | Firmware version of the device. | R |
| type | String | "ZHAWater" | R |
| uniqueid | String | Unique identifier of the resource. | R |
Config attributes¶
| Attribute | Datatype | Description | Access |
|---|---|---|---|
| battery | UInt8 | The current device battery level in 0–100 %. Default: 0 |
R |
| on | Bool | When true the sensor is enabled in rules. Default: true |
RW |
| pending | Array | Pending tasks to configure the device. | R |
| reachable | Bool | When true the device is assumed to be operational. | R |
State attributes¶
| Attribute | Datatype | Description | Access |
|---|---|---|---|
| lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |
| lowbattery | Bool | True when the device battery runs low. | R |
| water | Bool | True when water is detected. | R |