I purchased an aftermarket one and found that didn’t work, so I refitted the original. I discovered that you can pop the top off the T-piece and removed all the internals. Put the top back on and hey presto, fully working again.
Try it before ordering any parts - you may be pleasantly surprised!