Don't log no converter warning for genOta messages. #1620

This commit is contained in:
Koen Kanters 2020-04-13 17:18:45 +02:00
parent 5c3cd99288
commit 74aefcca76

View File

@ -107,8 +107,8 @@ class DeviceReceive extends Extension {
return c.cluster === data.cluster && type; return c.cluster === data.cluster && type;
}); });
// Check if there is an available converter // Check if there is an available converter, genOta messages are not interesting.
if (!converters.length) { if (!converters.length && data.cluster !== 'genOta') {
logger.debug( logger.debug(
`No converter available for '${resolvedEntity.definition.model}' with cluster '${data.cluster}' ` + `No converter available for '${resolvedEntity.definition.model}' with cluster '${data.cluster}' ` +
`and type '${data.type}' and data '${JSON.stringify(data.data)}'`, `and type '${data.type}' and data '${JSON.stringify(data.data)}'`,