mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
Fix crash when transition is used. #712
This commit is contained in:
parent
8a133de1d1
commit
1b8154bac1
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user