Picture Controller types Integrations
  • Light (TerncySD01LightController; 350ms delay)
  • Media Player (TerncySD01MediaPlayerController; 350ms delay)
zha

Controller types

TerncySD01LightController (Light)

This is the default mapping for this controller:

  • 1 click → Toggle
  • 2 clicks → Full brightness
  • 3 clicks → Minimum brightness
  • 4 clicks → 50% brightness
  • 5 clicks → 50% color temp
  • Rotate right → Brightness up (1 step)
  • Rotate left → Brightness down (1 step)

This is an example configuration:

      
example_app:
  module: controllerx
  class: TerncySD01LightController
  controller: < controller_id >
  integration: < zha >
  light: < light entity >
      
    

TerncySD01MediaPlayerController (Media Player)

This is the default mapping for this controller:

  • 1 click → Play/Pause
  • 2 clicks → Mute
  • 3 clicks → Next track
  • 4 clicks → Previous track
  • 5 clicks → Next source
  • Rotate right → Volume up (1 step)
  • Rotate left → Volume down (1 step)

This is an example configuration:

      
example_app:
  module: controllerx
  class: TerncySD01MediaPlayerController
  controller: < controller_id >
  integration: < zha >
  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.

ZHA

  • button_single → 1 click
  • button_double → 2 clicks
  • button_triple → 3 clicks
  • button_quadruple → 4 clicks
  • button_quintuple → 5 clicks
  • rotate_left → Rotate knob to the left
  • rotate_right → Rotate knob to the 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).