From ee27476890690319fadc462851dffcfa73605c64 Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Sat, 28 Aug 2021 17:23:25 -0300 Subject: [PATCH] Satisfy requirements for features that require USE_LIGHT --- tasmota/tasmota_configurations.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_configurations.h b/tasmota/tasmota_configurations.h index e65a70d62..2bb06a2ea 100644 --- a/tasmota/tasmota_configurations.h +++ b/tasmota/tasmota_configurations.h @@ -506,7 +506,6 @@ //#undef USE_WEBSERVER // Disable Webserver #undef USE_ENHANCED_GUI_WIFI_SCAN // Disable wifi scan output with BSSID (+0k5 code) //#undef USE_WEBSEND_RESPONSE // Disable command WebSend response message (+1k code) -#define USE_EMULATION // Enable Hue emulation #define USE_EMULATION_HUE // Enable Hue Bridge emulation for Alexa (+14k code, +2k mem common) #undef USE_EMULATION_WEMO // Disable Belkin WeMo emulation for Alexa (+6k code, +2k mem common) #undef USE_CUSTOM // Disable Custom features @@ -981,8 +980,12 @@ #ifdef USE_EMULATION_WEMO #define USE_EMULATION #endif +#ifdef USE_EMULATION +#define USE_LIGHT +#endif -#ifdef USE_COUNTER +#ifdef USE_AC_ZERO_CROSS_DIMMER +#define USE_COUNTER #define USE_LIGHT #endif @@ -990,6 +993,14 @@ #define USE_LIGHT #endif +#ifdef USE_TUYA_MCU +#define USE_LIGHT +#endif + +#ifdef USE_ARILUX_RF +#define USE_LIGHT +#endif + // Convert legacy slave to client #ifdef USE_TASMOTA_SLAVE #define USE_TASMOTA_CLIENT