diff --git a/tasmota/tasmota_xdrv_driver/xdrv_10_rules.ino b/tasmota/tasmota_xdrv_driver/xdrv_10_rules.ino index 903262d5a..b095d3a6e 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_10_rules.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_10_rules.ino @@ -918,7 +918,10 @@ bool RulesProcessEvent(const char *json_event) } bool RulesProcess(void) { - return RulesProcessEvent(XdrvMailbox.data); + if ((Settings->rule_enabled || BERRY_RULES) && !Rules.busy) { // Any rule enabled + return RulesProcessEvent(XdrvMailbox.data); + } + return true; } void RulesInit(void)