The Bee House (although it can be placed inside) only works when placed outside but will work anywhere outside so long as it is not blocking a villager's path.