diff --git a/tasmota/xdrv_10_rules.ino b/tasmota/xdrv_10_rules.ino index edb995930..c630676a1 100644 --- a/tasmota/xdrv_10_rules.ino +++ b/tasmota/xdrv_10_rules.ino @@ -772,8 +772,7 @@ bool RuleSetProcess(uint8_t rule_set, String &event_saved) // Use Backlog with event to prevent rule event loop exception unless IF is used which uses an implicit backlog if ((ucommand.indexOf(F("IF ")) == -1) && (ucommand.indexOf(F("EVENT ")) != -1) && - (ucommand.indexOf(F("BACKLOG0 ")) == -1) && - (ucommand.indexOf(F("BACKLOG ")) == -1)) { + (ucommand.indexOf(F("BACKLOG")) == -1)) { commands = String(F("backlog ")) + commands; }