From 02f61a5259d7418dedc5c6bd0fdb35914d084392 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 10 May 2020 11:10:55 +0200 Subject: [PATCH] Allow rule processing on single Status command Allow rule processing on single Status command only --- tasmota/support_command.ino | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasmota/support_command.ino b/tasmota/support_command.ino index d4b4337c9..1bd243754 100644 --- a/tasmota/support_command.ino +++ b/tasmota/support_command.ino @@ -561,6 +561,11 @@ void CmndStatus(void) #ifdef USE_SCRIPT_STATUS if (bitRead(Settings.rule_enabled, 0)) Run_Scripter(">U",2,mqtt_data); #endif + + if (payload) { + XdrvRulesProcess(); // Allow rule processing on single Status command only + } + mqtt_data[0] = '\0'; }