2 gang switches (TS0012)¶
This documentation was generated from: Moes_TZ3000_TS0012_2_gang_switches.json
Attribute | Value |
---|---|
status | Gold |
product | 2 gang switches (TS0012) |
modelid | TS0012 |
manufacturername | _TZ3000_18ejxno0 |
1. On/Off light¶
Endpoint: /lights
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_18ejxno0" | R |
modelid | String | "TS0012" | R |
name | String | Name of the resource. | RW |
swversion | String | Firmware version of the device. | R |
type | String | "On/Off light" | R |
uniqueid | String | Unique identifier of the resource. | R |
swversion | String | Firmware version of the device. | R |
type | String | "On/Off light" | R |
uniqueid | String | Unique identifier of the resource. | R |
State attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
alert | String | The currently active alert effect. Default: none
|
RW |
on | Bool | True when device is on; false when off. | RW |
reachable | Bool | When true the device is assumed to be operational. | R |
2. On/Off light¶
Endpoint: /lights
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_18ejxno0" | R |
modelid | String | "TS0012" | R |
name | String | Name of the resource. | RW |
swversion | String | Firmware version of the device. | R |
type | String | "On/Off light" | R |
uniqueid | String | Unique identifier of the resource. | R |
swversion | String | Firmware version of the device. | R |
type | String | "On/Off light" | R |
uniqueid | String | Unique identifier of the resource. | R |
State attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
alert | String | The currently active alert effect. Default: none
|
RW |
on | Bool | True when device is on; false when off. | RW |
reachable | Bool | When true the device is assumed to be operational. | R |