mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-21 09:46:31 +00:00
Fix Backlog0 in rules
This commit is contained in:
parent
d542da0780
commit
11e860eb6f
@ -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
|
// 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) &&
|
if ((ucommand.indexOf(F("IF ")) == -1) &&
|
||||||
(ucommand.indexOf(F("EVENT ")) != -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;
|
commands = String(F("backlog ")) + commands;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user