Automatic sprinkler protection