Picture Controller types Integrations
  • Light (WXKG12LMLightController; 350ms delay)
z2m, deconz

Controller types

WXKG12LMLightController (Light)

This is the default mapping for this controller:

  • 1 click → Toggle
  • 2 clicks → Full brightness
  • Shake the controller → Minimum brightness
  • Hold the button → Brightness up/down with direction changes

This is an example configuration:

      
example_app:
  module: controllerx
  class: WXKG12LMLightController
  controller: < controller_id >
  integration: < z2m, deconz >
  light: < light entity >
      
    

Integrations

Here you will see the actions that the controller fires when pressing or holding the buttons. In case of z2m it shows the state that the sensor takes. In case of deconz it shows the event id (or gesture) and for zha it shows the command concatenated with the args.

Zigbee2MQTT

  • single → 1 click
  • double → 2 clicks
  • shake → Shake the controller
  • hold → Hold the button
  • release → Release the button

deCONZ

  • 1002 → 1 click
  • 1004 → 2 clicks
  • 1007 → Shake the controller
  • 1001 → Hold the button
  • 1003 → Release the button

💡 NOTE

When using words like "on" and "off" in the YAML configuration, you will need to wrap them up with quotation marks ("), otherwise they will be parsed as boolean variables (True and False).