My question is about dogs and being inside homes.
I understand pet dogs are not permissible. And dogs should be kept outside. I also know animals need our care.

Dogs are najiss, which means that if dog’s fluids spilled on your clothes or any other place, then this will become impure, and you touched it with wet body, your body becomes najiss.
Therefore, it is not recommended to have dogs inside the house.
On the other hand, according to narrations, Angles do not enter a house with a dog in the house.