Added ability to get state of room.