From 128f7723d18a2aa186439f8bb1fd360f019b04b9 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 4 Nov 2021 17:01:05 +0100 Subject: [PATCH] Enable MQTT retain (sigh) Enable MQTT retain (sigh) (#12494) --- tasmota/xsns_62_esp32_mi_ble.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xsns_62_esp32_mi_ble.ino b/tasmota/xsns_62_esp32_mi_ble.ino index cb9548e6e..973c1e604 100644 --- a/tasmota/xsns_62_esp32_mi_ble.ino +++ b/tasmota/xsns_62_esp32_mi_ble.ino @@ -2741,7 +2741,7 @@ void MI32ShowOneMISensor(){ sprintf(SensorTopic, "tele/tasmota_ble/%s", id); - MqttPublish(SensorTopic); + MqttPublish(SensorTopic, Settings->flag.mqtt_sensor_retain); //AddLog(LOG_LEVEL_DEBUG,PSTR("M32: %s: show some %d %s"),D_CMND_MI32, MI32.mqttCurrentSlot, ResponseData()); } MI32.mqttCurrentSingleSlot++;