From 520643d17eef8ca0f016c9c3096ddb290e956bd1 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sat, 18 May 2019 12:21:09 +0200 Subject: [PATCH] Update my_user_config.h Default disable script for legacy reason --- sonoff/my_user_config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)