some things i like to use to get rid of unwanted entities are peganum harmala defumation. the smoke of peganum harmala is really good to clean the space and it is said that the djinn do not like it. to smell agua florida or put some on your face also help as from what i understand, evil spirit do not like good smell, they are attracted by bad smells and repelled by perfume. in this line of taught, blowing mapacho smoke right at the direction of the vision often help to get rid of her. generally tabaco have this protective property in the hyperspace realm, using rapé also help. mentalizing protective symbols toward the vision also help. i personally use the hand of fatimah that i try to picture in the place where the entity is.generally, one can try to manufacture visionary object that can be summon and used within the hyperspace realm such as sword, so to mentally use them when in need. i have been for exemple able to get in contact with a jaguar, that i sometime manage to invoke to get rid of negative forces.
they are a few entities that are hyperspace cops that can be invoked to get rid of unwanted entities, i work a lot with exu from quimbanda practice particularly tranca rua and also, from a different cultural background kali, but those are entities that are themselves quite a bit dark and should be dealt with a bit of caution. but exu tranca rua is really a great entity to get rid of unwanted energies, he really is an hyperspace cop just like this ponto tells about him: tranca rua da uma volta la fora, o que for bom bota pra dentro o que não for deixa la fora ( tranca rua take a walk outside, what is good let it enter, what is not good let it outside). one can ask is favor by feeding him with cachaça and cigarettes at crossroad , asking to remove the unwanted energy. in a more light vibe and christian setting, saint michael is really good to remove negative energy, although some people are uncomfortable at dealing with christian imagery. in santo daime ritual, during the ceremony a candle is placed at the left side of the door for exu tranca rua and at the right side for saint michael, as well as an other one outside, for the soul of unwanted entities to find their path. setting your space in a similar way can be of some help. about setting space, i feel it is really important to keep the place where you travel really clean, as negative energy are attract by dirt, in my understanding.
if the entity is attached to somebody what one can do is to take a bath of herbs, such as Ruta graveolens or mango leaves, the water not to be put in the head of the person, but taken from the shoulder down. or take a bath of salt, these bathing ritual being used to disconnect the energy of the entity from the body mind of the person. there are a lot of herbs used in brasilian and peruvian folk magic for this kind of purpose, but i lake knowledge of which of these herbs are available outside of south america. if the entity is attached to the space, as you said, what is sometime done in brasilian magic is to use some leaves of sacred plant, such as Ruta graveolens or pinão rocho infuse some of those leaves in some water and then take a bouquet of these leave, soaked them in the bath and pass the bouquet on every surface of the house doing the sign of the cross. if the case is really difficult, one can take a little bit of gun powder, do the sign of the cross at the entrance of the house with it and lit the cross on fire, taking good care not to burn oneself. in the same line of taught, one can take a bottle of cachaça and break it in the front of the house ( making sure to collect the glass afterwords of course), these rituals being good to chase the energy out of the house.
a few of these techniques are quite a bit extreme, and do not necessary apply to your case, all the more due to the fact that you said that these entities might not be that bad after all. but well i guess it is always good to be cautious and have some protective measure at hands when working with spirits, because not all of them are positive, and some might even be manipulative. as was mention by someone, any ritual works as long has you have faith in it, faith being the only thing that makes the magic happen. we only need material representation of the work we doing, such are candle and what not because it is a materialization of our thought, that helps our will become real.