I use this sensor for a pressure transmitter.
The value of the pressuresensor is 8.2 bar at 3,3 volt and 0 bar at 0 volt
i would convert the voltage to bar direct on my ESP before sending to homeassitant.
is that possible and how should the code look if possible ?
as it is now i recive the volage value. I.E. 2.34 volt
i2c:
sda: 21
scl: 22
scan: true
id: bus_a
ads1115:
- address: 0x4A
sensor:
- platform: ads1115
multiplexer: 'A0_GND'
gain: 4.096
name: "ADS1115 Channel A0-GND"