Fix some of the clogging issues. #914 #842

This commit is contained in:
Koen Kanters 2019-01-22 20:31:50 +01:00
parent 6ff3954b71
commit 1ddf60bef0

View File

@ -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.