This documentation was generated from: Contactor.json
| Attribute | Value |
| status |
Gold |
| product |
Contactor |
| modelid |
Contactor |
| manufacturername |
Legrand |
1. On/Off plug-in unit
Endpoint: /lights
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 |
"Legrand" |
R |
| modelid |
String |
"Contactor" |
R |
| name |
String |
Name of the resource. |
RW |
| swversion |
String |
Firmware version of the device. |
R |
| type |
String |
"On/Off plug-in unit" |
R |
| uniqueid |
String |
Unique identifier of the resource. |
R |
State attributes
| Attribute | Datatype | Description | Access |
| on |
Bool |
True when device is on; false when off. |
RW |
| reachable |
Bool |
When true the device is assumed to be operational. |
R |
2. ZHAPower
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 |
"Legrand" |
R |
| modelid |
String |
"Contactor" |
R |
| name |
String |
Name of the resource. |
RW |
| swversion |
String |
Firmware version of the device. |
R |
| type |
String |
"ZHAPower" |
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 |
| mode |
String |
Mode of the device. |
RW |
State attributes
| Attribute | Datatype | Description | Access |
| lastupdated |
ISO 8601 timestamp |
Timestamp when state was last updated. |
R |
| power |
Int16 |
The measured power (in W). Default: 0
|
RW |