Berry fix rules

This commit is contained in:
Stephan Hadinger 2021-03-21 19:45:32 +01:00
parent 4294a22854
commit aacaf77707
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ bool callBerryRule(void) {
berry.rules_busy = true; berry.rules_busy = true;
char * json_event = TasmotaGlobal.mqtt_data; char * json_event = TasmotaGlobal.mqtt_data;
bool serviced = false; 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; berry.rules_busy = false;
return serviced; // TODO event not handled return serviced; // TODO event not handled
} }