AM2302 - two sensors on same GPIO - is it possible

Dear HA users
Do anybody know how should I configure “configuration.yaml” to get online 2 sensors AM2302 on same PIN ?
The both working if I connect it separately. But both in same time don’t working . I trying use this sensors same like DS18B20. Line is the same - 1-wire.
I can also use same pin to connect 2 or more DS18B20 and one AM2303 to same line 1-wire ) same GPIO).

BR
robert3674

This is not possible. Each AM2302 requires its own GPIO that can not be shared.

A DS18B20 can operate with other DS18B20 sensors on a shared 1 wire bus as each device is addressable.

Thanks a lot.
One more question. For few AM2302 on separate pins, configuration in file “configuration.yaml” is enough or I must set up multiple 1-wire in in file “/boot/config.txt” ?
Best regards and happy Eastern
robert3674

The AM2302 does not use 1-wire.