It’s called an “air gap” and it’s there by design. In addition to creating an air gap by doing things the way your photo shows, you can also purchase a device to do the same thing which is a little neater and tidier, and has threaded fittings: https://a.co/d/dhK4skxCan the end of a condensate drain line have a hard pipe connection? I see open ended hoses dumping into laundry tubs, sump pumps, all open ended (not connected) drain lines.
Attached: HVAC condensate drain line (end of line)
I didn't open up your picture and I thought the black hose was the condensate line. So, after Mitchell-DIY-Guy said there was an "air-gap" there, I opened up the picture. You have an "air-break" that is kinda the same. It depends on how far down the vinyl tubing goes down the rubber hose. If it goes pretty far, an inspector could flag it as there is a chance alga could grow and "seal" the annular space between the vinyl tubing and the rubber hose making that essentially a hard piped connection.Thank you for the "air-gap" reference @Mitchell-DIY-Guy. With this info in my pocket & additional research:
From NACHI
Why Not Direct Connection?:
- Directly connecting condensate lines to a DWV (drain-waste-vent) pipe is prohibited in some locations.
- The potential danger is that sewer gases may enter the house through the condensate drain line.
- Even with a trap, direct connections can allow sewer gas to enter the air handler, which is unsafe and unhealthy.
https://forum.nachi.org/t/condensate-drains-and-air-gaps-why/191649/16