Pca9685 not work

Hello! trying to configure rgb via pca9685, connecting directly to pi3. however, the LEDs are constantly on, slightly changing color and brightness when switching colors, when turned off, they also remain lit.
the fan is the same, I can’t turn it off at all.
feeling that the logic of work is the opposite, because when configuring the switches, it was the same story, but adding invert_logiс: true to the configuration everything worked as it should. and in the case of pca9685 there is no such setting in the configuration.
here are my pieces of config:

  - platform: rpi_gpio_pwm
    leds:
      - name: RGB Server
        driver: pca9685
        pins: [4, 5, 6] # [R, G, B]
        type: rgb
        
  - platform: rpi_gpio_pwm
    leds:
      - name: Fan Server
        driver: pca9685
        pins: [0]
        type: simple

what could be the problem?