Caliber is almost irrelevant.
Bright floods on the outside, dark on the inside, screaming alarm, sleeping dogs, master light panel in your bed room. Perps enter with no night vision, all lights go off when they break in, blind, deafened by screaming alarm, get attacked by dogs, don’t know the layout… Set the battlefield for victory. .380 is plenty under those conditions. 2:30 in the morning and outnumbered is not a great time to improvise, trust to luck, or rely on a caliber. Make it hard for you to loose, and hard for them to win. It’s your house and you can make it really hard for an intruder to fight in it. What weapon is in your Hand may be the least relevant question.