Configuration esphome mcp23017 dallas temp ds18b20

Good morning everyone
I’m creating a system using esphome mcp23017 and dallas ds18b20.
in the esphome configuration I’m trying to configure a pin of the mcp23017 as a one-wire pin but esphome gives me an error
default configuration of one-wire gpio pin:
one_wire:

  • platform: gpio
    pin: GPIOXX

I tried to write the configuration like this but it doesn’t work.

one_wire:

  • platform: gpio
    name: “MCP23008 Pin #0
    pin:
    mcp23xxx: mcp23008_hub
    # Use pin number 0
    number: 0
    Is it possible to do it?
    Thanks in advance

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16

Additionally

What error, exactly?

My feeling is that you have to use a physical GPIO of the ESP board for your 1-wire bus.

This is the esphome error.
[mcp23xxx] is an invalid option for [pin]

one_wire:
  - platform: gpio
    pin: 
      mcp23xxx: mcp23008_hub
      # Use pin number 0
      number: 0

I think so too

Yep looks like it is not possible.