Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
don't log missing converter of genOta cluster (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Mar 9, 2020
1 parent 07c9a23 commit 129b6a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion nodes/converter.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ module.exports = function (RED) {
// Check if there is an available converter
if (converters.length === 0) {
// Don't log readRsp messages, they are not interesting most of the time.
if (data.type !== 'readResponse') {
// Todo: Clarify genOta logging (#107)
if (data.type !== 'readResponse' && data.cluster !== 'genOta') {
this.warn(
`No converter available for '${data.device.modelID}' with cluster '${data.cluster}' ` +
`and type '${data.type}' and data '${JSON.stringify(data.data)}'`
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-zigbee",
"version": "0.18.0",
"version": "0.18.1",
"keywords": [
"node-red",
"zigbee",
Expand Down

0 comments on commit 129b6a3

Please sign in to comment.