Open/close sensor (ZG-102Z/TM001-ZA/TM081)¶
This documentation was generated from: _TZE200_pay2byax_openclose_sensor.json
| Attribute | Value |
|---|---|
| status | Gold |
| product | Open/close sensor (ZG-102Z/TM001-ZA/TM081) |
| modelid | TS0601 TS0601 TS0601 |
| manufacturername | _TZE200_pay2byax _TZE200_kltffuzl _TZE200_fwoorn8y |
1. ZHAOpenClose¶
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 | "_TZE200_pay2byax" "_TZE200_kltffuzl" "_TZE200_fwoorn8y" |
R |
| modelid | String | "TS0601" "TS0601" "TS0601" |
R |
| name | String | Name of the resource. | RW |
| swversion | String | Firmware version of the device. | R |
| type | String | "ZHAOpenClose" | R |
| uniqueid | String | Unique identifier of the resource. | R |
| swversion | String | Firmware version of the device. | R |
| type | String | "ZHAOpenClose" | 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 |
| 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 |
| open | Bool | True when open is detected. Default: false |
R |