Skip to content

Aqara WXKG01LM

Aqara WXKG01LM

Build the configuration for this device

Notes

The ZHA implementation of this button does not support hold and release actions yet.

Light

  • Class: WXKG01LMLightController
  • Entity parameter: light
  • Default delay: 350ms

Default mapping

Each row shows the events fired by the device for each integration and the predefined action they trigger by default. You can change it with a custom mapping.

Zigbee2MQTT deCONZ ZHA Predefined action
single 1002 single toggle
double 1004 double on_full_brightness
triple 1005 triple on_min_brightness
quadruple 1006 quadruple set_half_brightness
many 1010 No action
hold 1001 hold_brightness_toggle
release 1003 release

Example configuration

example_app:
  module: controllerx
  class: WXKG01LMLightController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  light: light.my_entity_id
example_app:
  module: controllerx
  class: WXKG01LMLightController
  integration:
    name: z2m
    listen_to: event
  controller: my_controller_action
  light: light.my_entity_id
example_app:
  module: controllerx
  class: WXKG01LMLightController
  integration: deconz
  controller: my_controller
  light: light.my_entity_id
example_app:
  module: controllerx
  class: WXKG01LMLightController
  integration: zha
  controller: 00:11:22:33:44:55:66:77:88
  light: light.my_entity_id

Zigbee2MQTT Light

  • Class: WXKG01LMZ2MLightController
  • Entity parameter: light

Default mapping

Each row shows the events fired by the device for each integration and the predefined action they trigger by default. You can change it with a custom mapping.

Zigbee2MQTT Predefined action
single toggle
double on_full_brightness
triple on_min_brightness
quadruple set_half_brightness
many No action
hold hold_brightness_toggle
release release

Example configuration

example_app:
  module: controllerx
  class: WXKG01LMZ2MLightController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  light: my_entity_id
example_app:
  module: controllerx
  class: WXKG01LMZ2MLightController
  integration:
    name: z2m
    listen_to: event
  controller: my_controller_action
  light: my_entity_id