Configure 5mm RGB LED on PCF8575 with "light" component

Hi everybody,

I’m trying to configure ESPHome to control my single RGB LED. I’m using a Wemos D1 Mini which has a 16-bit-expander board PCF8575 attached as I need more GPIOs as the Wemos offers.
My RGB LED is attached to pin 10, 11 and 12 of the PCF8575 and configured as following:

 i2c:
   sda: D2
   scl: D1
 pcf8574:
   - id: 'pcf8575_hub'
     address: 0x20
     pcf8575: true
 
switch:
  - platform: gpio
    name: "led_blau"
    id: led_blau
    pin:
      pcf8574: pcf8575_hub
      # Use pin number 10
      number: 10
      # One of INPUT or OUTPUT
      mode:
        output: true
      inverted: true
  - platform: gpio
    name: "led_gruen"
    id: led_gruen
    pin:
      pcf8574: pcf8575_hub
      # Use pin number 11
      number: 11
      # One of INPUT or OUTPUT
      mode:
        output: true
      inverted: true
  - platform: gpio
    name: "led_rot"
    id: led_rot
    pin:
      pcf8574: pcf8575_hub
      # Use pin number 12
      number: 12
      # One of INPUT or OUTPUT
      mode:
        output: true
      inverted: true

So far so good, I have now 3 switches to control the 3 colors the RGB LED offers.

But it would be more comfortable use the “light” component like this:

light:
  - platform: rgb
    name: "RGB LED"
    red: output_red
    green: output_green
    blue: output_blue
output:
  - platform: esp8266_pwm
    id: output_red
    pin: D5
  - platform: esp8266_pwm
    id: output_green
    pin: D6
  - platform: esp8266_pwm
    id: output_blue
    pin: D7

Unfortunately the esp8266_pwm component does not accept the PCF8575 pins:

output.esp8266_pwm: [source /config/esphome/myproject.yaml:181]
  platform: esp8266_pwm
  id: output_blue
  pin: 
    
    [pcf8574] is an invalid option for [pin].

Anyone an idea how I could use the “light” component with the PCF8575 expander?