Fix messages being skipped for Xiaomi devices with Deconz adapter. #3592

This commit is contained in:
Koen Kanters
2020-05-22 18:25:32 +02:00
parent 94dbf9c505
commit d9b8e1fc18
+1 -1
View File
@@ -76,7 +76,7 @@ class Receive extends Extension {
* As the same message is also received directly from the end device, it makes no sense
* to handle these messages.
*/
const hasGroupID = data.hasOwnProperty('groupID') && data.groupID != 0;
const hasGroupID = data.hasOwnProperty('groupID') && !!data.groupID;
if (utils.isXiaomiDevice(data.device) && utils.isRouter(data.device) && hasGroupID) {
logger.debug('Skipping re-transmitted Xiaomi message');
return false;