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

Controller types

WXKG11LMSensorSwitchLightController (Light)

This is the default mapping for this controller:

  • 1 click → Toggle
  • 2 clicks → Full brightness
  • 3 clicks → Minimum brightness (just ZHA integration)
  • 4 clicks → 50% brightness (just ZHA integration)

This is an example configuration:

      
example_app:
  module: controllerx
  class: WXKG11LMSensorSwitchLightController
  controller: < controller_id >
  integration: < deconz, zha >
  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.

deCONZ

  • 1002 → 1 click
  • 1004 → 2 clicks
  • 1005 → 3 clicks
  • 1006 → 4 clicks

ZHA

  • single → 1 click
  • double → 2 clicks
  • triple → 3 clicks
  • quadruple → 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).