Merge pull request #11417 from s-hadinger/berry_fix_rules

Berry fix rules
This commit is contained in:
s-hadinger 2021-03-21 19:46:36 +01:00 committed by GitHub
commit c25ad05e9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ bool callBerryRule(void) {
berry.rules_busy = true;
char * json_event = TasmotaGlobal.mqtt_data;
bool serviced = false;
serviced = callBerryEventDispatcher(PSTR("exec_rules"), nullptr, 0, TasmotaGlobal.mqtt_data);
serviced = callBerryEventDispatcher(PSTR("rule"), nullptr, 0, TasmotaGlobal.mqtt_data);
berry.rules_busy = false;
return serviced; // TODO event not handled
}