Picture Controller types Integrations
  • Light (MLI404002LightController; 500ms delay)
z2m, zha

Controller types

MLI404002LightController (Light)

This is the default mapping for this controller:

  • Toggle button → Toggle
  • Click 🔆 → Brighten up (1 step)
  • Click 🔅 → Dim down (1 step)
  • Click cold → Color temp down / Left color wheel (1 step) (not for z2m)
  • Click warm → Color temp up / Right color wheel (1 step) (not for z2m)
  • Hold 🔆 → Brighten up
  • Hold 🔅→ Dim down

This is an example configuration:

      
example_app:
  module: controllerx
  class: MLI404002LightController
  controller: < controller_id >
  integration: < z2m, 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.

Zigbee2MQTT

  • "on" → Toggle button
  • "off" → Toggle button
  • brightness_step_down → Click 🔅
  • brightness_move_down → Hold 🔅
  • brightness_stop → Release 🔅/🔆
  • brightness_step_up → Click 🔆
  • brightness_move_up → Hold 🔆
  • recall_1 → Click arrow back

ZHA

  • "on" → Toggle button
  • "off" → Toggle button
  • move_up → Hold 🔆
  • move_down → Hold 🔅
  • stop → Release 🔅/🔆
  • step_up → Click 🔆
  • step_down → Click 🔅
  • recall → Click arrow back

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