Picture Controller types Integrations
  • Light (E1766LightController; 350ms delay)
  • Switch (E1766SwitchController)
  • Cover (E1766CoverController)
z2m, deconz, zha

Controller types

E1766LightController (Light)

This is the default mapping for this controller:

  • Click up → Turn on
  • Click down → Turn off
  • Released (after being held) up → Full brightness

This is an example configuration:

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

E1766SwitchController (Switch)

This is the default mapping for this controller:

  • Click up → Turn on
  • Click down → Turn off

This is an example configuration:

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

E1766CoverController (Cover)

This is the default mapping for this controller:

  • Click up → Open/Stop cover
  • Click down → Close/Stop cover
  • Released (after being held) up/down → Stop cover

This is an example configuration:

      
example_app:
  module: controllerx
  class: E1766CoverController
  controller: < controller_id >
  integration: < z2m, deconz, zha >
  cover: < cover 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

  • open → Click up
  • close → Click down
  • stop → Released (after being held) up/down

deCONZ

  • 1002 → Click up
  • 2002 → Click down
  • 1003 → Released (after being held) up
  • 2003 → Released (after being held) down

ZHA

  • up_open → Click up
  • down_close → Click down
  • stop → Released (after being held) up/down

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