1ea3de712ee0074e44ef36f7f3bf4be8a6dfd62a
The LiPo battery apparently ranges from 3.0 V to 3.95 V. Since we know the range, we can report the current level as a percentage, which Home Assistant will display. We'll leave the original voltage reading in the MQTT state payload for diagnostic purposes.
Languages
C++
93.9%
C
6.1%