S.H.
Your Husband does this because it is easier for him.
And he is being a "buddy" not a parent.
No young kid who is 2.5 years old, should be watching tv... until 9:30-10:00 at night.
Your Husband does this because it is easier for him... and it makes his son quiet.
And he does not want to put his child to bed.
He is taking the "chicken" route.
He is a chicken.
As the child gets older.... Hubby will be sabotaging his emotional development.
Or, Hubby is enjoying... irking you. And that is the "game" to him. Irking you and contradicting you.... in front of your child. And this is creating a wedge, in how your son bonds with you and the respect, he has for you.
So, that is a whole other problem.
To me: the problem is your Husband. And how.... he is undermining you in front of your child. Therefore, your son is "liking" Daddy more... because Daddy is trying to be a "buddy" not a Dad.
Then the other issue is: co-sleeping. You are against it. Your Husband sees no problem with it.
But developmentally, a child from 2 years old onward, does develop night time 'fears' in general. And they get scared at night. Hence, the child may want to sleep with mom or dad.
Or, have a place on the floor of your room, on a blanket or something, and your child can sleep there, if/when need be.