TV watching was detrimental to my life, so rather than be tempted by it, I just threw it in the trash.
In behavioral therapy it's called stimulus control.