How do I scale a ADC Input?

I’m using a ESP-WROOM-32 flashed with tasmota.bin and I’m a beginner using Home Assistant. My pressure transducer is connected to a voltage divider to scale 0-4.5v to 0-2.44v for the ESP-32S. Can anyone point me to a example with the correct usage for Span and Zero? Everything I can find on the topic points to the use of ESPHome and I’m trying to keep things simple. I still don’t understand how ESPHome can benefit my project.