Some background about myself and my situation:

I hate people knocking on my door. I have a no soliciting sign. We recently moved due to unforseen circumstances. The wife called the cable company to get our account transferred and they screwed the whole process up. I have spent way too much time on the phone with them trying to sort it out. At this point I am pretty frustrated with them.

The titular event:

It's 8:20pm and my 2 year old is in bed. The wife and I are watching TV in the living room. The lights are off and so is the light on the front porch.

Out of know where there is a knock at the front door and I can see a flashlight shining on the porch. My first thought, given the time of night, the type of knock, and the flashlight, was that it was the police. The dog is barking now and the kid has woken up crying.

I crack open the door:

Me: Can I help you?

CG: Hi, I'm Cable Guy with Cable Company. I see you have recently had a self install kit and I need to get into your back yard to finalize everything.

Me: It's after 8. You woke my fucking kid up. I don't have a visit scheduled and I am watching the cable right now. What the hell else do you need to do?

At this point I have stepped outside and closed the door behind me and started to unknowingly walk towards him.

CG: I can come back tomorrow if that's better.

Me: That's fine, cause you're not getting into my yard tonight.

He got in his van and left.

After I went back in, I began to worry that maybe he was just casing houses. I called the company and questioned them on why the hell they would send a tech out so late. No one had called ahead like they usually do. The company said no one was scheduled to work on my home, but a tech was in the area and may have gotten the wrong house.

I know swearing was uncalled for, but I was absolutely livid.

Tl;dr: Cable guy came knocking on my door after 8pm without an appointment and I told him to get the fuck out.

AITA for how I handled the situation? I know the guy was just doing his job, but that was a pretty inconvenient mistake? 