feat(battery): compute battery level by default
This commit is contained in:
@@ -26,7 +26,6 @@ module.exports = function(RED) {
|
||||
miDevicesUtils.setStatus(node, data);
|
||||
|
||||
if (node.output == "0") {
|
||||
miDevicesUtils.prepareFullDataOutput(payload);
|
||||
node.send([msg]);
|
||||
} else if (node.output == "1") {
|
||||
var status = null;
|
||||
|
||||
Reference in New Issue
Block a user