Keeping rats and snakes in the same house does trigger some 'feeding instinct' for the snake, in my opinion.
I notice this as sometimes when I feed live, due to a busy schedule, I leave the rats in critter boxes overnight. My snakes (including my 2 burms) will usually get 'excited' when I go near their enclosure due to the smell of rats in the house. I believe they have more fine tuned sense of smell as compared to humans, and my bumblebee did try to strike me because of this last time.. probably due to our heat signature and the rat scent in the air.
What I would do if this happens, is try to get a roll of paper towel or few pieces of newspaper (held together) and 'tap' their head lightly to turn off their feeding response, if they strike it won't harm them as the paper towel roll and newspaper is soft. For my burms, I will use a small rounded-edge snake hook and rub their head lightly. This will send a message to them that you are not food and its not feeding time. But this only happens when there are live rats in the house.
Other than that, feeding them in a separate enclosure will condition them not to mistake your hand for food, everytime you reach out in their enclosure.
Hope this helps![]()