What am i doing wrong in ESPHome (Sensor Conversions)

Look again at my code. No quotes around SAg.

Please format logs, code etc correctly using the </> button to avoid destroying quotes and indentation, like you did in your original post.