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

Controller types

WXKG01LMLightController (Light)

This is the default mapping for this controller:

  • 1 click → Toggle
  • 2 clicks → Full brightness
  • 3 clicks → Minimum brightness
  • 4 clicks → 50% brightness
  • Hold the button → Brightness up/down with direction changes

This is an example configuration:

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

Note

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

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
  • triple → 3 clicks
  • quadruple → 4 clicks
  • many → More than 4 clicks
  • hold → Hold the button
  • release → Release the button

deCONZ

  • 1002 → 1 click
  • 1004 → 2 clicks
  • 1005 → 3 clicks
  • 1006 → 4 clicks
  • 1010 → More than 4 clicks
  • 1001 → Hold the button
  • 1003 → Release the button

ZHA

  • single → 1 click
  • double → 2 clicks
  • triple → 3 clicks
  • quadruple → 4 clicks
  • furious → More than 4 clicks

💡 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).