Picture Controller types Integrations
  • Light (LutronPJ24BLightController; 350ms delay)
  • Media Player (LutronPJ24BMediaPlayerController; 500ms delay)
state

Controller types

LutronPJ24BLightController (Light)

This is the default mapping for this controller:

  • Top button → Full brightness
  • Second button → Brighten up
  • Third button → Dim down
  • Bottom button → Turn off

This is an example configuration:

      
example_app:
  module: controllerx
  class: LutronPJ24BLightController
  controller: < controller_id >
  integration: < state >
  light: < light entity >
      
    

LutronPJ24BMediaPlayerController (Media Player)

This is the default mapping for this controller:

  • Top button → Play/Pause
  • Second button → Volume up
  • Third button → Volume down
  • Bottom button → Next track

This is an example configuration:

      
example_app:
  module: controllerx
  class: LutronPJ24BMediaPlayerController
  controller: < controller_id >
  integration: < state >
  media_player: < media_player entity >
      
    

Note

For the State integration, it requires the LutronCasetaPro CUSTOM integration by upsert. THIS WILL NOT WORK with the default Lutron Caseta integration.

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.

State

  • "1" → Top button
  • "2" → Second button
  • "4" → Third button
  • "8" → Bottom button
  • "0" → Release/Idle state

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