diff --git a/sonoff/xsns_interface.ino b/sonoff/xsns_interface.ino index d39995be9..1c02787db 100644 --- a/sonoff/xsns_interface.ino +++ b/sonoff/xsns_interface.ino @@ -311,7 +311,9 @@ boolean XsnsCall(byte Function) } #endif // PROFILE_XSNS_SENSOR_EVERY_SECOND - if (result) break; + if (result && (FUNC_COMMAND == Function)) { + break; + } #ifdef USE_DEBUG_DRIVER } #endif