Skip to content

Commit 8a4d276

Browse files
committed
Fix crash when transition is used. Koenkk#712
1 parent 51c794b commit 8a4d276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/extension/devicePublish.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class DevicePublish {
155155
// Therefore; at the end of the transition, read the new state from the device.
156156
if (topic.type === 'set' && converted.zclData.transtime) {
157157
const time = converted.zclData.transtime * 100;
158-
const getConverted = converter.convert(json[key], json, 'get');
158+
const getConverted = converter.convert(key, json[key], json, 'get');
159159
setTimeout(() => {
160160
// Add job to queue
161161
this.queue.push((queueCallback) => {

0 commit comments

Comments
 (0)