Hey everyone, I’m trying to simplify my battery monitoring setup by converting voltage readings into three states: full, half, and empty. I’ve got this working for simple devices, but complex ones like my heating unit are giving me a bit of trouble. The voltage ranges I want to map are 3.0-2.3 for full, 2.2-1.8 for half, and 1.7-1.5 for empty. I’ve tried a few approaches in the .map file, like [2.3,3.0] and using hyphens, but nothing seems to work. If anyone has experience with this kind of transformation, I’d love to hear your tips or see examples of how you’ve handled similar situations. Let’s keep it positive and collaborative! ![]()