I am trying to figure out how to code out 4 tank sensors that I need to read voltage from. I have the circuit built out using diodes, but just need to be able to turn on a GPIO pin, read A0, then turn off for each of the 4 different GPIO pins. Looking for any examples of setting up ESPHome sensors / automation for this.
Eric