you write "My issue is that sensor is alarming when there is no fluid in the collection cup."

We have no detailled knowledge about your setup, hard to help then.

How is this sensor used? In which mode? What are the settings of this sensor and of the attached level control? Screenshots please

Either the settings are wrong (e.g. time limit too low) or the sensor and/or the cable are defective