mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 19:56:30 +00:00
Merge pull request #11417 from s-hadinger/berry_fix_rules
Berry fix rules
This commit is contained in:
commit
c25ad05e9b
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user