Picture Controller types Integrations
  • Light (ZYCT202LightController; 350ms delay)
  • Media Player (ZYCT202MediaPlayerController; 500ms delay)
z2m

Controller types

ZYCT202LightController (Light)

This is the default mapping for this controller:

  • Click "I" → Turn on
  • Hold brightness up → Brighten up
  • Hold brightness down → Dim down
  • Click "O" → Turn off

This is an example configuration:

      
example_app:
  module: controllerx
  class: ZYCT202LightController
  controller: < controller_id >
  integration: < z2m >
  light: < light entity >
      
    

ZYCT202MediaPlayerController (Media Player)

This is the default mapping for this controller:

  • Click "I" → Play/Pause
  • Hold brightness up → Volume up
  • Hold brightness down → Volume down
  • Click "O" → Play/Pause

This is an example configuration:

      
example_app:
  module: controllerx
  class: ZYCT202MediaPlayerController
  controller: < controller_id >
  integration: < z2m >
  media_player: < media_player 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 "I"
  • up-press → Hold brightness up
  • down-press → Hold brightness down
  • "off" → Click "O"
  • stop → Release the brightness buttons

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