diff --git a/sonoff/xdrv_10_scripter.ino b/sonoff/xdrv_10_scripter.ino index 6e7daa2ab..696c7750f 100644 --- a/sonoff/xdrv_10_scripter.ino +++ b/sonoff/xdrv_10_scripter.ino @@ -3408,8 +3408,6 @@ bool ScriptMqttData(void) } value.trim(); - //Create an new event. Cannot directly call RulesProcessEvent(). - //snprintf_P(event_data, sizeof(event_data), PSTR("%s=%s"), event_item.Event.c_str(), value.c_str()); char sbuffer[128]; snprintf_P(sbuffer, sizeof(sbuffer), PSTR(">%s=\"%s\"\n"), event_item.Event.c_str(), value.c_str()); //toLog(sbuffer);