NeoPixelBus Light Matrix. Brightness/color control

Hi!
I have 32x16 WS2811 matrix with ESP8266 (Node MCU) and want to change brightness using potentiometer.
Is it possible to change color_correct or colors using lambda?


light:
  - platform: neopixelbus
    type: GRB
    variant: WS2812
    pin: GPIO3
    num_leds: 512
    name: "led_matrix"
    id: led_matrix_light
    restore_mode: RESTORE_AND_ON

display:
  - platform: addressable_light
    id: led_matrix_display
    addressable_light_id: led_matrix_light
    width: 32
    height: 16
    pixel_mapper: |-
      if (x % 2 == 0) {
        return (x * 16) + y;
      }
      return (x * 16) + (15 - y);
    rotation: 0°
    update_interval: 50ms

color:
  - id: my_red
    red: 0%
    green: 0%
    blue: 0%

Hi,
the display components has a set_brightness() command. I use it with a service in my esphome display

 - service: brightness
      variables:
        brightness: int
      then:
        lambda: |-
          id(rgb8x32)->set_brightness(brightness);

But you can read out the potentiometer (analog) and write the value to set->brightness.