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

Controller types

E1812LightController (Light)

This is the default mapping for this controller:

  • Click → Toggle
  • Hold → Brightness up/down with direction changes

This is an example configuration:

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

E1812SwitchController (Switch)

This is the default mapping for this controller:

  • Click → Toggle

This is an example configuration:

      
example_app:
  module: controllerx
  class: E1812SwitchController
  controller: < controller_id >
  integration: < z2m, deconz, zha >
  switch: < switch 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" → Click
  • brightness_move_up → Hold
  • brightness_stop → Released after being held

deCONZ

  • 1002 → Click
  • 1001 → Hold
  • 1003 → Released after being held

ZHA

  • "on" → Click
  • move_with_on_off → Hold
  • stop → Released after being held

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