diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index 4a35d4327..2c93f1b88 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -322,6 +322,9 @@ void setup(void) { XdrvCall(FUNC_INIT); XsnsCall(FUNC_INIT); +#ifdef USE_SCRIPT + Run_Scripter(">BS",3,0); +#endif rules_flag.system_init = 1; } diff --git a/tasmota/xdrv_10_scripter.ino b/tasmota/xdrv_10_scripter.ino index 7fc893ffc..208f7211c 100755 --- a/tasmota/xdrv_10_scripter.ino +++ b/tasmota/xdrv_10_scripter.ino @@ -120,8 +120,6 @@ uint32_t DecodeLightId(uint32_t hue_id); #endif #endif // USE_UNISHOX_COMPRESSION -#define USE_SCRIPT_TIMER - #ifdef USE_SCRIPT_TIMER #include Ticker Script_ticker1;