From 1fc6f5c707ca116998ae96240310c8e032f5a85a Mon Sep 17 00:00:00 2001 From: nikito7 <45373783+nikito7@users.noreply.github.com> Date: Tue, 7 Jan 2025 21:00:39 +0000 Subject: [PATCH] Allow to change INFLUXDB_INITIAL (#22783) --- tasmota/tasmota_xdrv_driver/xdrv_59_influxdb.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_59_influxdb.ino b/tasmota/tasmota_xdrv_driver/xdrv_59_influxdb.ino index 298fe5cc6959..fa02ff8405c6 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_59_influxdb.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_59_influxdb.ino @@ -51,8 +51,9 @@ #define XDRV_59 59 +#ifndef INFLUXDB_INITIAL #define INFLUXDB_INITIAL 7 // Initial number of seconds after wifi connect keeping in mind sensor initialization - +#endif #ifndef INFLUXDB_STATE #define INFLUXDB_STATE 0 // [Ifx] Influxdb initially Off (0) or On (1) #endif