I’m using a pi 3b. My diagram is for 12 sensors but I eliminated 2.
I see I also use a 1k resistor, not a 4.7 for a harder pullup to 5v. The more sensors on the line the more noise if not clamped up pretty hard. This has been in service a couple of years now,
Someone elses circuit,
Wiring temperature sensor resistor in without breadboard.