Fixed bug at method getSensorsByRoomId.