The room Hermione had chosen to inhabit was dark and lit only by a fireplace at the backside of the room. When Harri opened the door and entered the space, it took them just a moment or two to parse out exactly where  Hermione was.