Battery reporting based by percentage never works with rechargeables–as mentioned upthread, they don’t have the same discharge pattern as nonrechargeable’s. Just physics.
If you plan to use rechargeable batteries in a home automation device, you should just put your replacements on a time-based schedule.