Recent changes in ESPHome have altered the configuration for 1-wire and Dallas temp sensors. Since there is no example config for using multiple 1-wire busses with sensors on each of them, I thought I would post an example here. Multiple 1-wire busses are useful where you have multiple sensors on long wires connected to a single ESP device. Even with a lower (2K2) pull-up resistor, it is still possible to suffer from read errors.
one_wire:
- platform: gpio
pin: GPIO5
id: bus1
- platform: gpio
pin: GPIO4
id: bus2
- platform: gpio
pin: GPIO0
id: bus3
sensor:
- platform: dallas_temp
one_wire_id: bus1
name: t1
- platform: dallas_temp
one_wire_id: bus2
name: t2
- platform: dallas_temp
one_wire_id: bus3
name: t3