diff --git a/lib/extension/devicePublish.js b/lib/extension/devicePublish.js index de0227077..4131f0cb6 100644 --- a/lib/extension/devicePublish.js +++ b/lib/extension/devicePublish.js @@ -155,7 +155,7 @@ class DevicePublish { // Therefore; at the end of the transition, read the new state from the device. if (topic.type === 'set' && converted.zclData.transtime) { const time = converted.zclData.transtime * 100; - const getConverted = converter.convert(json[key], json, 'get'); + const getConverted = converter.convert(key, json[key], json, 'get'); setTimeout(() => { // Add job to queue this.queue.push((queueCallback) => {