Does Home Depot sell inferior power tools?

I don’t know about model numbers, but I had a porch lighting fixture break, an old one from the 1970s. I went to Home Depot and they had one that looked identical, high up on the wall. The old one was cast iron I think, but when I opened the new one it was just black plastic, maybe with some aluminum. It was also slightly smaller in a few dimensions. It doesn’t look as good as the old one. I’m disappointed, but I probably don’t have money & time to go hunting around for a better one.