From f7c2da8402cd6eebb45bd6b044f2ce01e73d1fb7 Mon Sep 17 00:00:00 2001
From: SteWers <42718143+SteWers@users.noreply.github.com>
Date: Sun, 28 Dec 2025 20:00:28 +0100
Subject: [PATCH] [MI32 BLE] Move key status to value area (#24273)
---
.../tasmota_xsns_sensor/xsns_62_esp32_mi_ble.ino | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi_ble.ino b/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi_ble.ino
index 50b4b0318..6fcee1ec3 100644
--- a/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi_ble.ino
+++ b/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi_ble.ino
@@ -2387,7 +2387,7 @@ void MI32EverySecond(bool restart){
MI32.secondsCounter = 0;
}
}
- MI32.secondsCounter ++;
+ MI32.secondsCounter++;
if (MI32.secondsCounter2 >= MI32.period){
if (MI32.mqttCurrentSlot >= MIBLEsensors.size()){
@@ -2766,19 +2766,9 @@ const char HTTP_MISCALE_IMPEDANCE[] PROGMEM = "{s}%s Impedance{m}%u{e}";
const char HTTP_MISCALE_IMPEDANCE_STABILIZED[] PROGMEM = "{s}%s Impedance stabilized{m}%s{e}";
const char HTTP_SJWS01LM_FLOODING[] PROGMEM = "{s}%s Flooding{m}%u{e}";
-//const char HTTP_NEEDKEY[] PROGMEM = "{s}%s %s{m}{e}";
+const char HTTP_NEEDKEY[] PROGMEM = "{s}%s Key{m}%s{e}";
-//const char HTTP_NEEDKEY[] PROGMEM = "{s}%s %s{m}{e}";
-const char HTTP_NEEDKEY[] PROGMEM = "{s}%s %s{m}{e}";
-
-
-const char HTTP_PAIRING[] PROGMEM = "{s}%s Pair Button Pressed{m} {e}";
+const char HTTP_PAIRING[] PROGMEM = "{s}%s Pair button pressed{m} {e}";
const char HTTP_KEY_ERROR[] PROGMEM = "Key error %s";
const char HTTP_MAC_ERROR[] PROGMEM = "MAC error %s";