Scene switch (TS004F)¶
This documentation was generated from: _TZ3000_TS004F_switch.json
Attribute | Value |
---|---|
status | Gold |
product | Scene switch (TS004F) |
modelid | TS004F TS004F |
manufacturername | _TZ3000_rco1yzb1 _TZ3000_czuyt8lz |
1. ZHASwitch¶
Endpoint: /sensors
Top level attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
id | String | Identifier of the resource, unique within an endpoint. | R |
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 | "_TZ3000_rco1yzb1" "_TZ3000_czuyt8lz" |
R |
modelid | String | "TS004F" "TS004F" |
R |
name | String | Name of the resource. | RW |
swversion | String | Firmware version of the device. | R |
type | String | "ZHASwitch" | R |
uniqueid | String | Unique identifier of the resource. | R |
swversion | String | Firmware version of the device. | R |
type | String | "ZHASwitch" | R |
uniqueid | String | Unique identifier of the resource. | R |
Config attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
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 |
battery | UInt8 | The current device battery level in 0–100 %. Default: 0 |
R |
State attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
buttonevent | UInt32 | The last received button event. | R |
lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |