Need help with Resistance Sensor Setup

so if i can get the 2 volts now but not the range you mention but i get 2,2 volts why is the esp capping at 1volt how do i force it to keep reading pasting 1 volt?
it cant ready anything past 5"

and no matter which pin i use of the 32 - 39 gpio
they all cap out at 1.051volts in the logger

i tried type type: esp-idf
but it also caps at 1.05100 volts thought maybe different type would help

@Karosm
i found about attenuation but i still couldnt get it to work

tried
attenuation: auto
attenuation 0db
attenuation 2.5db
attenuation 6 db
attenuation 11db

still stuck on what to do to get it to work i read something the esp caps at 1volt and u need to use the attentuation and multipler but i dunno which one you choose

nvm the auto is working now it wasnt working i re tried it…

but now its working how do i convert it to 0 to 100 percent ?

Post your min and max voltage (empty/full) esp gives

You could use calibrate_linear filter or calculate it with lambda.
Also you can remove that resistance sensor from your yaml since it’s not relevant for you.

    - clamp:
        min_value: 0.73
        max_value: 2.23
    - calibrate_linear:
        - 0.73 -> 0
        - 2.23 -> 100

adjust those voltages to what esphome gives actually for full/empty