Single rocker switch (QBKG04LM)¶
This documentation was generated from: xiaomi_qbkg04lm_switch.json
| Attribute | Value |
|---|---|
| status | Gold |
| product | Single rocker switch (QBKG04LM) |
| modelid | lumi.ctrl_neutral1 |
| manufacturername | LUMI |
1. On/Off light¶
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 | "LUMI" | R |
| modelid | String | "lumi.ctrl_neutral1" | 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 |
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. ZHASwitch¶
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 | "LUMI" | R |
| modelid | String | "lumi.ctrl_neutral1" | 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 |
Config attributes¶
| Attribute | Datatype | Description | Access |
|---|---|---|---|
| clickmode | String | Allows configuration of the individual Button(s), primarily for Xiaomi devices. Current usable values (device dependent) are 'coupled', 'decoupled', 'multiclick' and 'highspeed'. Default: coupled
|
RW |
| 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 |
| temperature | UInt8 | The current device temperature in °C. | 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 |