mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 03:06:33 +00:00
Merge pull request #8285 from gemu2015/scripter-update
add scripter RulesProcessEvent
This commit is contained in:
commit
f09d0a5c78
@ -4844,6 +4844,10 @@ void ScriptJsonAppend(void) {
|
||||
#endif //USE_SCRIPT_JSON_EXPORT
|
||||
|
||||
|
||||
bool RulesProcessEvent(char *json_event) {
|
||||
if (bitRead(Settings.rule_enabled, 0)) Run_Scripter(">E",2,json_event);
|
||||
}
|
||||
|
||||
/*********************************************************************************************\
|
||||
* Interface
|
||||
\*********************************************************************************************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user