Skip to content

Aqara WXKG12LM

Aqara WXKG12LM

Build the configuration for this device

Light

  • Class: WXKG12LMLightController
  • 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 Predefined action
single 1002 toggle
double 1004 on_full_brightness
shake 1007 on_min_brightness
hold 1001 hold_brightness_toggle
release 1003 release

Example configuration

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

Zigbee2MQTT Light

  • Class: WXKG12LMZ2MLightController
  • 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
shake on_min_brightness
hold hold_brightness_toggle
release release

Example configuration

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