mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-12-05 02:34:14 +00:00
Revert "Fix Home Assistant automation trigger reliability by adding a small delay. #958"
This reverts commit f4bf504642.
This commit is contained in:
1 parent
63c88cba5b
commit
e47b672bcb
1 file changed
+1
-4
@@ -140,11 +140,8 @@ class DeviceReceive {
|
||||
}
|
||||
|
||||
this.publishEntityState(device.ieeeAddr, payload, cache);
|
||||
|
||||
if (Object.keys(clearStatePayload).length > 0) {
|
||||
setTimeout(() => {
|
||||
this.publishEntityState(device.ieeeAddr, clearStatePayload, false);
|
||||
}, 300);
|
||||
this.publishEntityState(device.ieeeAddr, clearStatePayload, false);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user