From e7ef60aa3d9ef084f6458759840a26e381199e5f Mon Sep 17 00:00:00 2001 From: Simon Hailes Date: Wed, 17 Feb 2021 10:52:02 +0000 Subject: [PATCH] better responses for Mi32Optionx n --- tasmota/xsns_62_esp32_mi_ble.ino | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tasmota/xsns_62_esp32_mi_ble.ino b/tasmota/xsns_62_esp32_mi_ble.ino index 7578dbae8..44a475942 100644 --- a/tasmota/xsns_62_esp32_mi_ble.ino +++ b/tasmota/xsns_62_esp32_mi_ble.ino @@ -2171,22 +2171,22 @@ void CmndMi32Option(void){ switch(XdrvMailbox.index) { case 0: MI32.option.allwaysAggregate = onOff; - ResponseCmndNumber(onOff); + ResponseCmndIdxNumber(onOff); return; break; case 1: MI32.option.noSummary = onOff; - ResponseCmndNumber(onOff); + ResponseCmndIdxNumber(onOff); return; break; case 2: MI32.option.directBridgeMode = onOff; - ResponseCmndNumber(onOff); + ResponseCmndIdxNumber(onOff); return; break; case 4:{ MI32.option.ignoreBogusBattery = onOff; - ResponseCmndNumber(onOff); + ResponseCmndIdxNumber(onOff); return; } break; case 5:{ @@ -2195,17 +2195,17 @@ void CmndMi32Option(void){ // discard all sensors for a restart MIBLEsensors.clear(); } - ResponseCmndNumber(onOff); + ResponseCmndIdxNumber(onOff); return; } break; case 6:{ MI32.option.MQTTType = onOff; - ResponseCmndNumber(onOff); + ResponseCmndIdxNumber(onOff); return; } break; } - ResponseCmndDone(); + ResponseCmndIdxError(); } void MI32KeyListResp(){