Want random dimming with 8 LED channels

Hello,

I don’t know if it is possible, so I ask here:
I have a ESP32 with 8 mosfets attached for dimming 8 LED strands. At the moment they are all set to the same level, but I would like to have some dynamic lighting.
The set level in HA should be the average light level. All individual levels should be pending around that value (maybe with different transition times). I want a setting of 70 to result in (62,58,74,77,68,65,71,85) transitioning to (73,55,59,71,79,80,63,80). Can that somehow be accomplished?

Regards,
4nduril

Can you share your existing ESPHome code?

Of cause I can…

esphome:
  name: led-dimmer-treppe
  friendly_name: LED-Dimmer-Treppe

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "XXX"

ota:
  password: "XXX"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Led-Dimmer-Treppe"
    password: "XXX"

captive_portal:
    
output:
  - platform: ledc
    pin: GPIO16
    id: gpio_16
  - platform: ledc
    pin: GPIO17
    id: gpio_17
  - platform: ledc
    pin: GPIO18
    id: gpio_18
  - platform: ledc
    pin: GPIO19
    id: gpio_19
  - platform: ledc
    pin: GPIO21
    id: gpio_21
  - platform: ledc
    pin: GPIO22
    id: gpio_22
  - platform: ledc
    pin: GPIO23
    id: gpio_23
  - platform: ledc
    pin: GPIO25
    id: gpio_25
  - platform: template
    id: outputsplit
    type: float
    write_action:
      - output.set_level:
          id: gpio_16
          level: !lambda return state;
      - output.set_level:
          id: gpio_17
          level: !lambda return state;
      - output.set_level:
          id: gpio_18
          level: !lambda return state;
      - output.set_level:
          id: gpio_19
          level: !lambda return state;
      - output.set_level:
          id: gpio_21
          level: !lambda return state;
      - output.set_level:
          id: gpio_22
          level: !lambda return state;
      - output.set_level:
          id: gpio_23
          level: !lambda return state;
      - output.set_level:
          id: gpio_25
          level: !lambda return state;

light:
  - platform: monochromatic
    output: outputsplit
    name: "Strauch"