diff --git a/lib/extension/devicePublish.js b/lib/extension/devicePublish.js index 1dbb3fe3..bbcf8d6c 100644 --- a/lib/extension/devicePublish.js +++ b/lib/extension/devicePublish.js @@ -169,10 +169,10 @@ class DevicePublish { msg[_key] = key.startsWith('brightness') ? 'ON' : json['state']; this.publishDeviceState(device, msg, true); } - - queueCallback(); } ); + + setTimeout(() => queueCallback(), 100); }); // It's possible for devices to get out of sync when writing an attribute that's not reportable.