mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 10:28:33 -07:00
Don't setup reporting for Gledopto devices. https://github.com/Koenkk/zigbee2mqtt/issues/2132
This commit is contained in:
parent
d16981d539
commit
1428e0bb87
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user