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

Controller types

WXKG07LMLightController (Light)

This is the default mapping for this controller:

  • Click on both → Toggle
  • Double click on both → Brighten up (1 step)
  • Long click on both → Dim down (1 step)
  • Click on left → Toggle
  • Double click on left → Brighten up (1 step)
  • Long click on left → Dim down (1 step)
  • Click on right → Toggle
  • Double click on right → Brighten up (1 step)
  • Long click on right → Dim down (1 step)

This is an example configuration:

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

WXKG07LMSwitchController (Switch)

This is the default mapping for this controller:

  • Click on both → Toggle
  • Click on left → Toggle
  • Click on right → Toggle

This is an example configuration:

      
example_app:
  module: controllerx
  class: WXKG07LMSwitchController
  controller: < controller_id >
  integration: < z2m, deconz, zha >
  switch: < switch entity >
      
    

Note

Note that all actions related to both, left and right, do the same. This is because ControllerX is design to control just one entity (light or media player). So you can include the `actions` parameter to include the actions needed. You can check here for reference. Also, this controller support hold action, but not release. This means that there is not smooth brightness changes when holding, just step by step everytime is held.

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

  • both → Click on both
  • both_double → Double click on both
  • both_long → Long click on both
  • left → Click on left
  • left_double → Double click on left
  • left_long → Long click on left
  • right → Click on right
  • right_double → Double click on right
  • right_long → Long click on right

deCONZ

  • 3002 → Click on both
  • 3004 → Double click on both
  • 3001 → Long click on both
  • 1002 → Click on left
  • 1004 → Double click on left
  • 1001 → Long click on left
  • 2002 → Click on right
  • 2004 → Double click on right
  • 2001 → Long click on right

ZHA

  • "both_single" → Click on both
  • "both_double" → Double click on both
  • "both_long press" → Long click on both
  • "left_single" → Click on left
  • "left_double" → Double click on left
  • "left_long press" → Long click on left
  • "right_single" → Click on right
  • "right_double" → Double click on right
  • "right_long press" → Long click on right

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