Two ds18b20 sensors on different lines

Hello again. I came to you with a new problem. I Needed to connect two ds18b20 sensors on different lines. since 1-wire does not like the “star” topology, I tried to connect the sensors to different pins.

dallas:
  - pin: D2
    update_interval: 30s
  - pin: D3
    update_interval: 30s
sensor:
  - platform: dallas
    address: 0xA0408B611F64FF28
    name: "T1"
    accuracy_decimals: 3

  - platform: dallas
    address: 0x363C01B55671C928
    name: "T2"
    accuracy_decimals: 3

It doesn’t work! If i disconnect one of the sensors, the second one is read normally, but together in no way.
Is this a bug or a feature dallas component?