node-red-contrib-mi-devices
node-red-contrib-mi-devices copied to clipboard
Battery calculation differs between status and msg
The battery percentage calculation differs between the node status and message. Which one is correct?
https://github.com/pierrecle/node-red-contrib-mi-devices/blob/4c8978decf996006a952588413fce228d99d6a6c/src/utils.js#L10,L14