From 865769767d009db11c15c81e2ef9147309e163c6 Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Tue, 16 Jun 2020 10:36:16 +0200 Subject: [PATCH] scripter call >BS after sensor init --- tasmota/tasmota.ino | 3 +++ tasmota/xdrv_10_scripter.ino | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) 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;