From b252a0c12259107be3006317845e90eeb383a67d Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Sun, 26 Apr 2020 12:01:13 +0200 Subject: [PATCH] fix scripter RulesProcessEvent --- tasmota/xdrv_10_scripter.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasmota/xdrv_10_scripter.ino b/tasmota/xdrv_10_scripter.ino index 276034dc8..370686848 100755 --- a/tasmota/xdrv_10_scripter.ino +++ b/tasmota/xdrv_10_scripter.ino @@ -4844,6 +4844,10 @@ void ScriptJsonAppend(void) { #endif //USE_SCRIPT_JSON_EXPORT +bool RulesProcessEvent(char *json_event) { + if (bitRead(Settings.rule_enabled, 0)) Run_Scripter(">E",2,json_event); +} + /*********************************************************************************************\ * Interface \*********************************************************************************************/