E1 dual rocker wireless switch (WXKG17LM)

This documentation was generated from: xiaomi_wxkg17lm_e1_switch.json

AttributeValue
status Gold
product E1 dual rocker wireless switch (WXKG17LM)
modelid lumi.remote.acn004
manufacturername LUMI

1. ZHASwitch

Endpoint: /sensors

Top level attributes

AttributeDatatypeDescriptionAccess
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 "LUMI" R
modelid String "lumi.remote.acn004" 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
modelid String "lumi.remote.acn004" 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

AttributeDatatypeDescriptionAccess
battery UInt8 The current device battery level in 0–100 %.

Default: 0

R
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: multiclick

  • "highspeed" — Buttons emit only single click events, but fast
  • "multiclick" — Emits single, double and treble presses
RW
devicemode String Mode of the Hue wall switch module with possible values 'singlerocker', 'singlepushbutton', 'dualrocker', 'dualpushbutton'. Xiaomi devices have possible values of 'compatibility' and 'zigbee', but DO NOT CHANGE UNLESS YOU KNOW EXACTLY, WHAT YOU'RE DOING

Default: compatibility

  • "compatibility" — Default mode for Xiaomi devices
  • "zigbee" — Closer to zigbee standard
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

State attributes

AttributeDatatypeDescriptionAccess
buttonevent UInt32 The last received button event. R
lastupdated ISO 8601 timestamp Timestamp when state was last updated. R