From 1b8154bac1e3cc3bcc5d5fb0471435f6ed32e84a Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Mon, 17 Dec 2018 21:27:13 +0100 Subject: [PATCH] Fix crash when transition is used. #712 --- lib/extension/devicePublish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {