mirror of https://github.com/arendst/Tasmota.git
better responses for Mi32Optionx n
This commit is contained in:
parent
10ee56b9da
commit
e7ef60aa3d
|
@ -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(){
|
||||
|
|
Loading…
Reference in New Issue