Split drawing of rooms, locations and sensor data in sepate functions