Fix compilation ESP32

This commit is contained in:
Stephan Hadinger 2021-01-18 22:32:59 +01:00
parent 2f139d0e47
commit b55fdcef75
1 changed files with 1 additions and 1 deletions

View File

@ -720,7 +720,7 @@ bool RuleSetProcess(uint8_t rule_set, String &event_saved)
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("BACKLOG ")) == -1)) { (ucommand.indexOf(F("BACKLOG ")) == -1)) {
commands = F("backlog ") + commands; commands = String(F("backlog ")) + commands;
} }
RulesVarReplace(commands, F("%VALUE%"), Rules.event_value); RulesVarReplace(commands, F("%VALUE%"), Rules.event_value);