they wouldn’t report with instructions using the SHT11 library.
Are you saying that there is a problem with the libraries ? Do you have a clue what it might be ?
Are you willing to fix your code ?
You have now: if (condition) do nothing
The ; after the if is a “do nothing”.
Suppose that you remove that ;
Then you have: if (Wire.available ()<=2)
That is always true. If the sensor is connected, then there are two bytes, and if the sensor is not connected then there are 0 bytes.
You can remove that if-statement and that would improve the sketch.
You can also test if the sensor is connected with:
if( Wire.available() == 2)