Don't setup reporting for Gledopto devices. https://github.com/Koenkk/zigbee2mqtt/issues/2132

This commit is contained in:
Koen Kanters 2019-10-15 20:16:04 +02:00
parent d16981d539
commit 1428e0bb87

View File

@ -79,7 +79,8 @@ class DeviceReport extends BaseExtension {
if (device.meta.hasOwnProperty('reporting') && device.meta.reporting === reportKey) return false;
if (!utils.isRouter(device) || utils.isBatteryPowered(device)) return false;
if (mappedDevice === CC2530Router) return false;
// Gledopto devices don't support reporting.
if (mappedDevice === CC2530Router || mappedDevice.vendor === 'Gledopto') return false;
return true;
}