mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-04 11:01:40 +00:00
Revert "Fix Home Assistant automation trigger reliability by adding a small delay. #958"
This reverts commit f4bf504642.
This commit is contained in:
@@ -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