I’m trying to read the battery status on LillyGo T7 S3. As per documentation/scematic (T7-S3/schematic at main · Xinyuan-LilyGO/T7-S3 · GitHub), it is attached to pin 2.
So I tried this:
sensor: - platform: adc id: battery_level pin: 2
But the sensor showed the exact value of 0.961 forever until the device died from an empty battery.