diff --git a/tasmota/tasmota_support/support_command.ino b/tasmota/tasmota_support/support_command.ino index 2186f9311..8215ab71c 100644 --- a/tasmota/tasmota_support/support_command.ino +++ b/tasmota/tasmota_support/support_command.ino @@ -794,8 +794,10 @@ void CmndStatus(void) XsnsDriverState(); ResponseAppend_P(PSTR(",\"Sensors\":")); XsnsSensorState(0); +#ifdef USE_I2C ResponseAppend_P(PSTR(",\"" D_CMND_I2CDRIVER "\":")); I2cDriverState(); +#endif ResponseJsonEndEnd(); CmndStatusResponse(4); }