What you’re saying flies in the face of mens rea. The person who’s state of mind is examined here is the homeowner. If they perceive their life is in danger they’re allowed to use force. In your state there may be a duty to retreat but even there there are exigent circumstances.
Good luck convincing a jury this guy knew the person who had just smashed his window and was trying to unlock the door from the outside wasn’t quite literally breaking and entering.