diff --git a/tasmota/xsns_62_MI_HM10.ino b/tasmota/xsns_62_MI_HM10.ino index b3269cd56..da28d7306 100644 --- a/tasmota/xsns_62_MI_HM10.ino +++ b/tasmota/xsns_62_MI_HM10.ino @@ -1520,6 +1520,10 @@ void HM10EverySecond(bool restart){ } if(_counter==0) { + if(MIBLEsensors.size() == 0){ + _counter++; + return; + } HM10.state.sensor = _nextSensorSlot; _nextSensorSlot++; HM10.mode.pending_task = 1;