This PROTECTS the cops.
Now, when they shoot you or your dog when entering your house unlawfully, they can claim you were shooting at them.
Police union bots are probably busily saying this now, after, of course, their standard, “Fine, see how fast cops come to YOUR house when you need them” posts for anyone who supports this “restriction” on cops.
Does the law say “house” or “property”. If it says “property” it means a cop could be shot for ringing the doorbell.
Another question, how is the homeowner to know whether or not the cop is entering legally?