diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index c225ddd86..a351ee51d 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -265,6 +265,7 @@ // -- MQTT ---------------------------------------- #define MQTT_TELE_RETAIN 0 // Tele messages may send retain flag (0 = off, 1 = on) +#define MQTT_CLEAN_SESSION 1 // Mqtt clean session connection (0 = No clean session, 1 = Clean session (default)) // -- MQTT - Domoticz ----------------------------- #define USE_DOMOTICZ // Enable Domoticz (+6k code, +0.3k mem)