diff --git a/sonoff/my_user_config.h b/sonoff/my_user_config.h index a7d7a3602..3250573a4 100644 --- a/sonoff/my_user_config.h +++ b/sonoff/my_user_config.h @@ -288,10 +288,10 @@ #define USE_SUNRISE // Add support for Sunrise and sunset tools (+16k) #define SUNRISE_DAWN_ANGLE DAWN_NORMAL // Select desired Dawn Angle from (DAWN_NORMAL, DAWN_CIVIL, DAWN_NAUTIC, DAWN_ASTRONOMIC) -// -- Rules --------------------------------------- +// -- Rules or Scripts ---------------------------- +// Select none or only one of the below defines #define USE_RULES // Add support for rules (+4k4 code) -#undef USE_RULES -#define USE_SCRIPT +//#define USE_SCRIPT // Add support for script // #define USE_EXPRESSION // Add support for expression evaluation in rules (+3k2 code, +64 bytes mem) // #define SUPPORT_MQTT_EVENT // Support trigger event with MQTT subscriptions (+3k5 code)