From b55fdcef75ca397ed25ee3fe0e6b638f951628c5 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Mon, 18 Jan 2021 22:32:59 +0100 Subject: [PATCH] Fix compilation ESP32 --- tasmota/xdrv_10_rules.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_10_rules.ino b/tasmota/xdrv_10_rules.ino index 31b8e9f46..4a6d3c9c1 100644 --- a/tasmota/xdrv_10_rules.ino +++ b/tasmota/xdrv_10_rules.ino @@ -720,7 +720,7 @@ bool RuleSetProcess(uint8_t rule_set, String &event_saved) if ((ucommand.indexOf(F("IF ")) == -1) && (ucommand.indexOf(F("EVENT ")) != -1) && (ucommand.indexOf(F("BACKLOG ")) == -1)) { - commands = F("backlog ") + commands; + commands = String(F("backlog ")) + commands; } RulesVarReplace(commands, F("%VALUE%"), Rules.event_value);