From 7502ba5312a2a3adec23b2d19bdcf7e2a3c90945 Mon Sep 17 00:00:00 2001 From: Laurent Date: Sun, 9 Sep 2018 19:28:38 +0200 Subject: [PATCH] don't ignore linkquality when its value is 0 --- lib/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller.js b/lib/controller.js index 9b0ce7175..4fccead20 100644 --- a/lib/controller.js +++ b/lib/controller.js @@ -319,7 +319,7 @@ class Controller { }); // Add device linkquality. - if (message.linkquality) { + if ('linkquality' in message) { payload.linkquality = message.linkquality; }